From: Paolo Bonzini Date: Thu, 31 Jul 2025 17:36:38 +0000 (+0200) Subject: rust: disable borrow_as_ptr warning X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db62680edd04c78eada3cf67f27d8825e08feb9a;p=thirdparty%2Fqemu.git rust: disable borrow_as_ptr warning This is pretty noisy, but it was not visible until now because it only shows up if the rust-version has "&raw const". Signed-off-by: Paolo Bonzini --- diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 0868e1b4268..0a83db15356 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -53,7 +53,6 @@ as_ptr_cast_mut = "deny" as_underscore = "deny" assertions_on_result_states = "deny" bool_to_int_with_if = "deny" -borrow_as_ptr = "deny" cast_lossless = "deny" dbg_macro = "deny" debug_assert_with_mut_call = "deny"