diff options
-rw-r--r-- | Android.bp | 13 | ||||
-rw-r--r-- | cargo_embargo.json | 3 |
2 files changed, 11 insertions, 5 deletions
@@ -1,5 +1,7 @@ // This file is generated by cargo_embargo. -// Do not modify this file as changes will be overridden on upgrade. +// Do not modify this file after the first "rust_*" or "genrule" module +// because the changes will be overridden on upgrade. +// Content before the first "rust_*" or "genrule" module is preserved. package { default_applicable_licenses: ["external_rust_crates_tracing_license"], @@ -24,7 +26,7 @@ rust_library { crate_name: "tracing", cargo_env_compat: true, cargo_pkg_version: "0.1.40", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2018", features: [ "attributes", @@ -51,9 +53,12 @@ rust_library { crate_name: "tracing", cargo_env_compat: true, cargo_pkg_version: "0.1.40", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2018", - features: ["max_level_off"], + features: [ + "max_level_off", + "release_max_level_off", + ], rustlibs: [ "libpin_project_lite", "libtracing_core", diff --git a/cargo_embargo.json b/cargo_embargo.json index 188aefd..33fc981 100644 --- a/cargo_embargo.json +++ b/cargo_embargo.json @@ -4,7 +4,8 @@ {}, { "features": [ - "max_level_off" + "max_level_off", + "release_max_level_off" ], "module_name_overrides": { "libtracing": "libtracing_max_level_off" |