Closed ChunMinChang closed 4 years ago
My terminal gives a warning when running the update introduced by #57 as follows, but the Travis server doesn't fail.
We should make cargo clippy -- -D warnings work.
cargo clippy -- -D warnings
chang@cchang-37365 cubeb-coreaudio-rs % cargo clippy -- -D warnings < (git) pr-57 Checking cubeb-coreaudio v0.1.0 (/Users/cchang/Work/cubeb-coreaudio-rs) error: unused variable: `frames_written` --> src/backend/mod.rs:659:17 | 659 | let frames_written = stm.frames_written.load(Ordering::SeqCst); | ^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_frames_written` | = note: `-D unused-variables` implied by `-D warnings` error: aborting due to previous error error: could not compile `cubeb-coreaudio`. To learn more, run the command again with --verbose.
My terminal gives a warning when running the update introduced by #57 as follows, but the Travis server doesn't fail.
We should make
cargo clippy -- -D warnings
work.