Skip to content

Commit

Permalink
fix: build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanleiby committed Dec 6, 2024
1 parent fc37738 commit 70a38c3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
lint:
cargo clippy --all --all-features --tests -- -D warnings

build:
cargo build

test:
cargo test

test_watch:
git ls-files | entr cargo test

pre_commit: lint test build
6 changes: 6 additions & 0 deletions src/rom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ enum Mapper {

pub struct Rom {
pub prg_rom: Vec<u8>,

#[allow(dead_code)]
chr_rom: Vec<u8>,

#[allow(dead_code)]
mapper: Mapper,

#[allow(dead_code)]
mirroring: Mirroring,
}

Expand Down

0 comments on commit 70a38c3

Please sign in to comment.