File tree Expand file tree Collapse file tree 2 files changed +6
-22
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 2 files changed +6
-22
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ environment:
4646 RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-ninja
4747 SCRIPT : python x.py test
4848 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
49- MINGW_ARCHIVE : i686-6.3 .0-release-win32-dwarf-rt_v5-rev1.7z
49+ MINGW_ARCHIVE : i686-6.2 .0-release-win32-dwarf-rt_v5-rev1.7z
5050 MINGW_DIR : mingw32
5151 - MSYS_BITS : 64
5252 SCRIPT : python x.py test
5353 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-ninja
5454 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
55- MINGW_ARCHIVE : x86_64-6.3 .0-release-win32-seh-rt_v5-rev1.7z
55+ MINGW_ARCHIVE : x86_64-6.2 .0-release-win32-seh-rt_v5-rev1.7z
5656 MINGW_DIR : mingw64
5757
5858 # 32/64 bit MSVC and GNU deployment
@@ -71,14 +71,14 @@ environment:
7171 RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-extended --enable-ninja
7272 SCRIPT : python x.py dist
7373 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
74- MINGW_ARCHIVE : i686-6.3 .0-release-win32-dwarf-rt_v5-rev1.7z
74+ MINGW_ARCHIVE : i686-6.2 .0-release-win32-dwarf-rt_v5-rev1.7z
7575 MINGW_DIR : mingw32
7676 DEPLOY : 1
7777 - MSYS_BITS : 64
7878 SCRIPT : python x.py dist
7979 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended --enable-ninja
8080 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
81- MINGW_ARCHIVE : x86_64-6.3 .0-release-win32-seh-rt_v5-rev1.7z
81+ MINGW_ARCHIVE : x86_64-6.2 .0-release-win32-seh-rt_v5-rev1.7z
8282 MINGW_DIR : mingw64
8383 DEPLOY : 1
8484
Original file line number Diff line number Diff line change @@ -58,24 +58,8 @@ pub fn run(lib_path: &str,
5858 let mut cmd = Command :: new ( prog) ;
5959 cmd. args ( args)
6060 . stdout ( Stdio :: piped ( ) )
61- . stderr ( Stdio :: piped ( ) ) ;
62-
63- // Why oh why do we sometimes make a pipe and sometimes inherit the stdin
64- // stream, well that's an excellent question! In theory it should suffice to
65- // always create a pipe here and be done with it. Unfortunately though
66- // there's apparently something odd with the gdb that comes with gcc 6.3.0
67- // on MinGW. Tracked at rust-lang/rust#40184 when stdin is piped here
68- // (unconditionally) then all gdb tests will fail on MinGW when using gcc
69- // 6.3.0. WHen using an inherited stdin though they happen to all work!
70- //
71- // As to why this fixes the issue, well, I have no idea. If you can remove
72- // this branch and unconditionally use `piped` and it gets past @bors please
73- // feel free to send a PR!
74- if input. is_some ( ) || !cfg ! ( windows) {
75- cmd. stdin ( Stdio :: piped ( ) ) ;
76- } else {
77- cmd. stdin ( Stdio :: inherit ( ) ) ;
78- }
61+ . stderr ( Stdio :: piped ( ) )
62+ . stdin ( Stdio :: piped ( ) ) ;
7963
8064 add_target_env ( & mut cmd, lib_path, aux_path) ;
8165 for ( key, val) in env {
You can’t perform that action at this time.
0 commit comments