Skip to content

Commit 03db777

Browse files
committed
1 parent 20fcdb2 commit 03db777

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,9 @@ mod tests {
10041004
#[ctor::ctor]
10051005
fn setup() {
10061006
// Consistent `prepare` output.
1007-
env::set_var("RAYON_NUM_THREADS", "1");
1007+
unsafe {
1008+
env::set_var("RAYON_NUM_THREADS", "1");
1009+
}
10081010
}
10091011

10101012
fn reader(stem: &str, extension: &str) -> BufReader<File> {

0 commit comments

Comments
 (0)