Skip to content

Commit

Permalink
Treat no_std(target) == None case correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
sekineh committed Jul 21, 2018
1 parent 7630090 commit 3f00b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ impl Step for Compiletest {
builder.ensure(compile::Rustc { compiler, target });
}

if builder.no_std(target) == Some(false) {
if builder.no_std(target) != Some(true) {
builder.ensure(compile::Test { compiler, target });
}
builder.ensure(native::TestHelpers { target });
Expand Down

0 comments on commit 3f00b1c

Please sign in to comment.