aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2024-05-09 16:15:29 -0700
committerChris Wailes <chriswailes@google.com>2024-05-10 11:58:03 -0700
commit5ba9fe3a87b7d0f2d86d6979ac1b8b4548761a3c (patch)
treec28bb4e56115dece16e17008fae82dc99d50e28f
parentccace32eb65f2260753c5689b29c7ce4a475ef2f (diff)
downloadrustc-demangle-main.tar.gz
Enable feature "std" to ensure presence of panic handlerHEADmastermain
Test: m librustc_demangle Bug: 333887339 Change-Id: I3a09d25b9ade8ce02b6d69bdb0f7f5424ecb0112
-rw-r--r--Android.bp1
-rw-r--r--cargo_embargo.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index dbece2f..186668f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -47,6 +47,7 @@ rust_library {
cargo_pkg_version: "0.1.23",
srcs: ["src/lib.rs"],
edition: "2015",
+ features: ["std"],
apex_available: [
"//apex_available:platform",
"com.android.runtime",
diff --git a/cargo_embargo.json b/cargo_embargo.json
index f40467e..de782dc 100644
--- a/cargo_embargo.json
+++ b/cargo_embargo.json
@@ -1,4 +1,5 @@
{
+ "features": ["std"],
"apex_available": [
"//apex_available:platform",
"com.android.runtime",