diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-05-09 01:11:15 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-05-09 01:11:15 +0000 |
commit | 805adc4c23ce0ec651133ae5073d71dc134c24e6 (patch) | |
tree | 71247fcc1bf753b6077c0f445198815275b5b24f | |
parent | 7cd98255b7f7ca2461ab95a18fcd028de9f45442 (diff) | |
parent | 700accfd4b9b135521cdceaf66b8b34fa3006b74 (diff) | |
download | lazy_static-sdk-release.tar.gz |
Snap for 11819063 from 700accfd4b9b135521cdceaf66b8b34fa3006b74 to sdk-releasesdk-release
Change-Id: I3c9203b056f4f663aa833d035d40d0b68a632080
-rw-r--r-- | cargo_embargo.json | 13 | ||||
-rw-r--r-- | rules.mk | 21 |
2 files changed, 5 insertions, 29 deletions
diff --git a/cargo_embargo.json b/cargo_embargo.json index 5cbcf7d..e32afad 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -30,19 +30,6 @@ "no_std": true } } - }, - { - "generate_androidbp": false, - "generate_rulesmk": true, - "features": [ - "spin", - "spin_no_std" - ], - "package": { - "lazy_static": { - "no_std": true - } - } } ] } @@ -1,22 +1,11 @@ -# This file is generated by cargo_embargo. -# Do not modify this file after the LOCAL_DIR line -# because the changes will be overridden on upgrade. -# Content before the first line starting with LOCAL_DIR is preserved. +# This file is generated by cargo2rulesmk.py --run. +# Do not modify this file as changes will be overridden on upgrade. LOCAL_DIR := $(GET_LOCAL_DIR) MODULE := $(LOCAL_DIR) MODULE_CRATE_NAME := lazy_static -MODULE_RUST_CRATE_TYPES := rlib -MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs -MODULE_ADD_IMPLICIT_DEPS := false -MODULE_RUST_EDITION := 2015 -MODULE_RUSTFLAGS += \ - --cfg 'feature="spin"' \ - --cfg 'feature="spin_no_std"' - -MODULE_LIBRARY_DEPS := \ - external/rust/crates/spin \ - trusty/user/base/lib/libcompiler_builtins-rust \ - trusty/user/base/lib/libcore-rust +MODULE_SRCS := \ + $(LOCAL_DIR)/src/lib.rs \ +MODULE_RUST_EDITION := 2015 include make/library.mk |