| commit | f2ac825152e881ea2606d3d1ef8acbcb62c56b70 | [log] [tgz] |
|---|---|---|
| author | Andrew Walbran <qwandor@google.com> | Thu Aug 17 09:44:55 2023 +0000 |
| committer | Andrew Walbran <qwandor@google.com> | Thu Aug 17 13:46:27 2023 +0000 |
| tree | 861181befd0db9e763c429ec30afa6b8f9149a35 | |
| parent | 32829c7ab19d3ab1688cee2ca74a9b230eeae2f0 [diff] [blame] |
Allow unsafe operations in unsafe functions in generated code. This will soon be denied by default, but we trust that what cxx does is correct. Bug: 290018030 Test: m rust Change-Id: Icde1116d90c068c7ca14c60f5b03f3fca99561f6 Merged-In: If38e434a5d9e3320cfa7e6f686a078f7ee764435
diff --git a/libs/input/input_verifier.rs b/libs/input/input_verifier.rs index 2e05a63..dd2ac4c 100644 --- a/libs/input/input_verifier.rs +++ b/libs/input/input_verifier.rs
@@ -32,6 +32,7 @@ use log::info; #[cxx::bridge(namespace = "android::input")] +#[allow(unsafe_op_in_unsafe_fn)] mod ffi { #[namespace = "android"] unsafe extern "C++" {