diff options
Diffstat (limited to 'library/backtrace/crates/as-if-std/build.rs')
-rw-r--r-- | library/backtrace/crates/as-if-std/build.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/backtrace/crates/as-if-std/build.rs b/library/backtrace/crates/as-if-std/build.rs index 7018b1017..7669f555d 100644 --- a/library/backtrace/crates/as-if-std/build.rs +++ b/library/backtrace/crates/as-if-std/build.rs @@ -1,3 +1,11 @@ +// backtrace-rs requires a feature check on Android targets, so +// we need to run its build.rs as well. +#[allow(unused_extern_crates)] +#[path = "../../build.rs"] +mod backtrace_build_rs; + fn main() { println!("cargo:rustc-cfg=backtrace_in_libstd"); + + backtrace_build_rs::main(); } |