Skip to content

Commit 3f00b1c

Browse files
committed
Treat no_std(target) == None case correctly.
1 parent 7630090 commit 3f00b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ impl Step for Compiletest {
966966
builder.ensure(compile::Rustc { compiler, target });
967967
}
968968

969-
if builder.no_std(target) == Some(false) {
969+
if builder.no_std(target) != Some(true) {
970970
builder.ensure(compile::Test { compiler, target });
971971
}
972972
builder.ensure(native::TestHelpers { target });

0 commit comments

Comments
 (0)