std: deny(unsafe_op_in_unsafe_fn) but allow sites
This provides a list of locations to hunt down issues in.
This commit is contained in:
parent
f8e4ac0760
commit
4572ed6389
9 changed files with 12 additions and 1 deletions
|
@ -252,6 +252,7 @@
|
|||
#![allow(internal_features)]
|
||||
#![deny(rustc::existing_doc_keyword)]
|
||||
#![deny(fuzzy_provenance_casts)]
|
||||
#![deny(unsafe_op_in_unsafe_fn)]
|
||||
#![allow(rustdoc::redundant_explicit_links)]
|
||||
// Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind`
|
||||
#![deny(ffi_unwind_calls)]
|
||||
|
@ -664,7 +665,7 @@ pub mod alloc;
|
|||
mod panicking;
|
||||
|
||||
#[path = "../../backtrace/src/lib.rs"]
|
||||
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts)]
|
||||
#[allow(dead_code, unused_attributes, fuzzy_provenance_casts, unsafe_op_in_unsafe_fn)]
|
||||
mod backtrace_rs;
|
||||
|
||||
// Re-export macros defined in core.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue