Skip to content

Commit

Permalink
Warn on lossy provenance casts
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening committed Jul 12, 2023
1 parent d612321 commit 6e6661c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#![warn(unsafe_op_in_unsafe_fn)]
#![warn(clippy::transmute_ptr_to_ptr)]
#![warn(fuzzy_provenance_casts)]
#![warn(lossy_provenance_casts)]
#![allow(clippy::missing_safety_doc)]
#![cfg_attr(target_arch = "aarch64", allow(incomplete_features))]
#![cfg_attr(target_arch = "x86_64", feature(abi_x86_interrupt))]
Expand Down

0 comments on commit 6e6661c

Please sign in to comment.