File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
bootstrap/src/core/build_steps Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ jobs:
187187 Remove-Item -Force -Recurse $kits\$kind\$sdk_version -ErrorAction Continue
188188 }
189189
190+ # Show the environment just before we run the build
191+ # This makes it easier to diagnose problems with the above install scripts.
192+ - name : show the current environment
193+ run : src/ci/scripts/dump-environment.sh
194+
190195 - name : run the build
191196 # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
192197 run : src/ci/scripts/run-build-from-ci.sh 2>&1
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ impl Step for Rustc {
515515
516516 // The REUSE-managed license files
517517 let license = |path : & Path | {
518- builder. install ( path, & image. join ( "share/doc/rust/licences " ) , 0o644 ) ;
518+ builder. install ( path, & image. join ( "share/doc/rust/licenses " ) , 0o644 ) ;
519519 } ;
520520 for entry in t ! ( std:: fs:: read_dir( builder. src. join( "LICENSES" ) ) ) . flatten ( ) {
521521 license ( & entry. path ( ) ) ;
Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ if isWindows && isKnownToBeMingwBuild; then
3232 ;;
3333 esac
3434
35+ # Stop /msys64/bin from being prepended to PATH by adding the bin directory manually.
36+ # Note that this intentionally uses a Windows style path instead of the msys2 path to
37+ # avoid being auto-translated into `/usr/bin`, which will not have the desired effect.
38+ msys2Path=" c:/msys64"
39+ ciCommandAddPath " ${msys2Path} /usr/bin"
40+
3541 mingw_dir=" mingw${bits} "
3642
3743 curl -o mingw.7z " ${MIRRORS_BASE} /${mingw_archive} "
You can’t perform that action at this time.
0 commit comments