1From 8106a52ecca371216903fb7b5077409ee1d31ee0 Mon Sep 17 00:00:00 2001 2From: Matthew Maurer <[email protected]> 3Date: Mon, 16 Aug 2021 14:05:54 -0700 4Subject: [PATCH] Suppress cdylib build 5 6Currently, cdylibs aren't allowed in certain contexts until support for 7vendor snapshots is added. Since rustc-demangle-capi is needed in those 8environments, we prevent cdylib from being generated during the 9cargo2android scan. 10 11Change-Id: I1deb453a8095bc69f963e765b28333752ec483ff 12--- 13 Cargo.toml | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/Cargo.toml b/Cargo.toml 17index 5828d25..9ab660e 100644 18--- a/Cargo.toml 19+++ b/Cargo.toml 20@@ -20,6 +20,6 @@ repository = "https://github.com/alexcrichton/rustc-demangle" 21 22 [lib] 23 name = "rustc_demangle" 24-crate-type = ["staticlib", "cdylib"] 25+crate-type = ["staticlib"] 26 [dependencies.rustc-demangle] 27 version = "0.1.16" 28-- 292.33.0.rc1.237.g0d66db33f3-goog 30 31