commit | 3137bf9d4364489713bffe03c0ca2a4c50b031ec | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Wed May 17 13:53:30 2023 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Wed May 17 13:53:30 2023 +0000 |
tree | e51e1be86e792b6e32c3cced17f7a002666e2f75 | |
parent | 6ff734224edba75e0937b43b6dc1356d0840376b [diff] |
Use macro explicitly rather than using #[macro_use]. This makes it more clear where it comes from. Bug: 261037227 Test: m authorization_service_fuzzer Change-Id: Ifc68ccf8e40fe262f8c823a1d1bd6ebd1700454b
diff --git a/keystore2/src/fuzzers/aidl-fuzzers/authorization_service_fuzzer.rs b/keystore2/src/fuzzers/aidl-fuzzers/authorization_service_fuzzer.rs index c1b2098..9f83b40 100644 --- a/keystore2/src/fuzzers/aidl-fuzzers/authorization_service_fuzzer.rs +++ b/keystore2/src/fuzzers/aidl-fuzzers/authorization_service_fuzzer.rs
@@ -16,11 +16,10 @@ #![allow(missing_docs)] #![no_main] -#[macro_use] -extern crate libfuzzer_sys; use binder_random_parcel_rs::fuzz_service; use keystore2::authorization::AuthorizationManager; +use libfuzzer_sys::fuzz_target; fuzz_target!(|data: &[u8]| { let authorization_service = AuthorizationManager::new_native_binder().unwrap_or_else(|e| {