Closed 3for closed 3 years ago
The better fix here is to remove the #[deny(warnings)]
from the lib.rs
and instead pass it to cargo in CI via RUSTFLAGS.
Good idea. I've open the warnings instead of remove unsafe
block.
@3for if i understand correctly, by changing the warning level you've resolved this particular problem? Should we close the issue?
@Lokathor Yes, we can close this issue.
git clone the source code, and run
cargo build
, an "unnecessaryunsafe
block" error occurred. My rust version isrustc 1.39.0-nightly (9b91b9c10 2019-08-26)
.It will be solved by remove the
unsafe
block.