Skip to content

Commit 56a82a2

Browse files
committed
Fix empty backtrace
1 parent 1954034 commit 56a82a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_system/src/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ pub fn build_sysroot(env: &HashMap<String, String>, config: &ConfigInfo) -> Resu
139139
rustflags.push_str(&cg_rustflags);
140140
}
141141

142+
args.push(&"--features");
143+
args.push(&"backtrace");
144+
142145
let mut env = env.clone();
143146
env.insert("RUSTFLAGS".to_string(), rustflags);
144147
let sysroot_dir = library_dir.join("sysroot");

0 commit comments

Comments
 (0)