We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfd5c3 commit 7f2f0d2Copy full SHA for 7f2f0d2
tests/lang_tests_common.rs
@@ -42,7 +42,9 @@ pub fn main_inner(profile: Profile) {
42
.expect("failed to get absolute path of `gcc-path`")
43
.display()
44
.to_string();
45
- env::set_var("LD_LIBRARY_PATH", gcc_path);
+ unsafe {
46
+ env::set_var("LD_LIBRARY_PATH", gcc_path);
47
+ }
48
49
fn rust_filter(path: &Path) -> bool {
50
path.is_file() && path.extension().expect("extension").to_str().expect("to_str") == "rs"
0 commit comments