diff options
| author | 2023-08-04 22:26:47 +0000 | |
|---|---|---|
| committer | 2023-08-04 22:26:47 +0000 | |
| commit | 142f9c55ffef6b5ace98b7c58e357725c720a251 (patch) | |
| tree | 833a86fd96746b6d973d5fbd20d11443e5e1e708 | |
| parent | 370191f81cefdcc7b627c2c7b4071d4b29f1f69a (diff) | |
| parent | 3799422958117fd1cee9127fda73a789dd1dcd1a (diff) | |
Merge "Allow unsafe operations in unsafe functions in generated code." into main
| -rw-r--r-- | libs/input/rust/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/input/rust/lib.rs b/libs/input/rust/lib.rs index 688d941bf6..1d3c434f76 100644 --- a/libs/input/rust/lib.rs +++ b/libs/input/rust/lib.rs @@ -23,6 +23,7 @@ pub use input::{DeviceId, MotionAction, MotionFlags}; pub use input_verifier::InputVerifier; #[cxx::bridge(namespace = "android::input")] +#[allow(unsafe_op_in_unsafe_fn)] mod ffi { #[namespace = "android"] unsafe extern "C++" { |