]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust: disable borrow_as_ptr warning
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 Jul 2025 17:36:38 +0000 (19:36 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Aug 2025 08:57:04 +0000 (10:57 +0200)
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 <pbonzini@redhat.com>
rust/Cargo.toml

index 0868e1b4268081b7583ff586deb075b2c473413c..0a83db1535626e9a10a3f6d31c708dbb0591062e 100644 (file)
@@ -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"