briansmith / ring

Safe, fast, small crypto using Rust
Other
3.69k stars 697 forks source link

Rust 1.77 issues false positive `dead_code` warnings for `#[repr(transparent)]` structs. #1917

Closed briansmith closed 6 months ago

briansmith commented 8 months ago

See https://github.com/rust-lang/rust/issues/119659. This affects all the #[repr(transparent)] tuple structs like N0 where the field is actually used by C or assembly code, but not by Rust code.

riking commented 6 months ago

Upstream issue is fixed

briansmith commented 6 months ago

Thanks. It seems l already made the code changes to revert the workaround so there's nothing left to do here.