Unverified Commit 7c1c5b4a authored by TomaSajt's avatar TomaSajt
Browse files

gopher64: fix build

parent dc55488e
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
diff --git a/src/device/cart.rs b/src/device/cart.rs
index 97bf09f..4406fec 100644
--- a/src/device/cart.rs
+++ b/src/device/cart.rs
@@ -21,6 +21,7 @@ const JDT_EEPROM_16K: u16 = 0xc000; /* 16k EEPROM */
 const EEPROM_BLOCK_SIZE: usize = 8;
 pub const EEPROM_MAX_SIZE: usize = 0x800;
 
+#[allow(warnings)]
 #[derive(serde::Serialize, serde::Deserialize)]
 pub enum CicType {
     CicNus6101,
+3 −0
Original line number Diff line number Diff line
@@ -42,6 +42,9 @@ rustPlatform.buildRustPackage (finalAttrs: {

    # make the build script use the @GIT_REV@ string that will be substituted in the logic below
    ./set-git-rev.patch

    # enum CicType is not used, but dead code is treated as an error
    ./allow-unused-type.patch
  ];

  postPatch = ''