Fix empty backtraces when panicking

This commit is contained in:
Ruihan Li
2024-04-02 23:12:17 +08:00
committed by Tate, Hongliang Tian
parent 198363c2d3
commit 3c31ec35cf
3 changed files with 5 additions and 2 deletions

View File

@ -66,7 +66,7 @@ pub static KTEST_CRATE_WHITELIST: Option<&[&str]> = Some(&{:#?});
&osdk_target_directory,
&ws_target_directory,
&required_build_config,
&["--cfg ktest", "-C panic=unwind"],
&["--cfg ktest"],
);
std::env::remove_var("RUSTFLAGS");
std::env::set_current_dir(original_dir).unwrap();