Match std RUSTFLAGS for host and target for mir-opt test
This commit is contained in:
parent
4203c68613
commit
becf664e49
1 changed files with 5 additions and 1 deletions
|
|
@ -1697,7 +1697,11 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
|
|||
builder.ensure(TestHelpers { target: compiler.host });
|
||||
|
||||
// ensure that `libproc_macro` is available on the host.
|
||||
builder.ensure(compile::Std::new(compiler, compiler.host));
|
||||
if suite == "mir-opt" {
|
||||
builder.ensure(compile::Std::new_for_mir_opt_tests(compiler, compiler.host));
|
||||
} else {
|
||||
builder.ensure(compile::Std::new(compiler, compiler.host));
|
||||
}
|
||||
|
||||
// As well as the target
|
||||
if suite != "mir-opt" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue