diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-07-13 16:14:30 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-07-13 16:14:30 -0400 |
| commit | 56a82a2402e369ba999e88de125e27014f975f17 (patch) | |
| tree | 309077ca4f49b1b318574ba5ccaedb1fdc116db5 | |
| parent | 1954034e3472d2c8c8229e029e92b81db5809f9c (diff) | |
| download | rust-56a82a2402e369ba999e88de125e27014f975f17.tar.gz rust-56a82a2402e369ba999e88de125e27014f975f17.zip | |
Fix empty backtrace
| -rw-r--r-- | build_system/src/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_system/src/build.rs b/build_system/src/build.rs index 4033ffe0694..94b40319f4a 100644 --- a/build_system/src/build.rs +++ b/build_system/src/build.rs @@ -139,6 +139,9 @@ pub fn build_sysroot(env: &HashMap<String, String>, config: &ConfigInfo) -> Resu rustflags.push_str(&cg_rustflags); } + args.push(&"--features"); + args.push(&"backtrace"); + let mut env = env.clone(); env.insert("RUSTFLAGS".to_string(), rustflags); let sysroot_dir = library_dir.join("sysroot"); |
