aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-07-31 19:36:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-08-27 10:57:04 +0200
commitdb62680edd04c78eada3cf67f27d8825e08feb9a (patch)
tree232996ff926e5844ab1040d689b4716d77307108
parent8e98961f6eb691b59ff0230ee22917061bfae5f8 (diff)
downloadqemu-db62680edd04c78eada3cf67f27d8825e08feb9a.zip
qemu-db62680edd04c78eada3cf67f27d8825e08feb9a.tar.gz
qemu-db62680edd04c78eada3cf67f27d8825e08feb9a.tar.bz2
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 <pbonzini@redhat.com>
-rw-r--r--rust/Cargo.toml1
1 files changed, 0 insertions, 1 deletions
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 0868e1b..0a83db1 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"