File tree 3 files changed +12
-1
lines changed
bootstrap/src/core/build_steps
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,11 @@ jobs:
187
187
Remove-Item -Force -Recurse $kits\$kind\$sdk_version -ErrorAction Continue
188
188
}
189
189
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
+
190
195
- name : run the build
191
196
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
192
197
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 {
515
515
516
516
// The REUSE-managed license files
517
517
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 ) ;
519
519
} ;
520
520
for entry in t ! ( std:: fs:: read_dir( builder. src. join( "LICENSES" ) ) ) . flatten ( ) {
521
521
license ( & entry. path ( ) ) ;
Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ if isWindows && isKnownToBeMingwBuild; then
32
32
;;
33
33
esac
34
34
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
+
35
41
mingw_dir=" mingw${bits} "
36
42
37
43
curl -o mingw.7z " ${MIRRORS_BASE} /${mingw_archive} "
You can’t perform that action at this time.
0 commit comments