We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afb298e commit 539e831Copy full SHA for 539e831
build.rs
@@ -68,6 +68,10 @@ fn main() {
68
// core::fmt::Arguments::as_str
69
// https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html#stabilized-apis
70
println!("cargo:rustc-cfg=anyhow_no_fmt_arguments_as_str");
71
+
72
+ // #![deny(unsafe_op_in_unsafe_fn)]
73
+ // https://github.com/rust-lang/rust/issues/71668
74
+ println!("cargo:rustc-cfg=anyhow_no_unsafe_op_in_unsafe_fn_lint");
75
}
76
77
0 commit comments