Treat no_std(target) == None case correctly.

This commit is contained in:
Hideki Sekine 2018-07-21 22:39:35 +09:00
parent 76300903bc
commit 3f00b1c07b

View File

@ -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 });