File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/bootstrap/src/core/build_steps Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1764,7 +1764,11 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
1764
1764
cmd. arg ( "--src-root" ) . arg ( & builder. src ) ;
1765
1765
cmd. arg ( "--src-test-suite-root" ) . arg ( builder. src . join ( "tests" ) . join ( suite) ) ;
1766
1766
1767
- cmd. arg ( "--build-base" ) . arg ( testdir ( builder, compiler. host ) . join ( suite) ) ;
1767
+ // N.B. it's important to distinguish between the *root* build directory, the *host* build
1768
+ // directory immediately under the root build directory, and the test-suite-specific build
1769
+ // directory.
1770
+ cmd. arg ( "--build-root" ) . arg ( & builder. out ) ;
1771
+ cmd. arg ( "--build-test-suite-root" ) . arg ( testdir ( builder, compiler. host ) . join ( suite) ) ;
1768
1772
1769
1773
// When top stage is 0, that means that we're testing an externally provided compiler.
1770
1774
// In that case we need to use its specific sysroot for tests to pass.
You can’t perform that action at this time.
0 commit comments