on master help sign in
CICD: Build: Enable x86_64-pc-windows-gnu again

All the referenced issues [1] have been Closed, so use "stable" for everything. Now `i686-w64-mingw32-gcc` fails with this instead error: linker `i686-w64-mingw32-gcc` not found so keep it disabled. There is probably a simple solution for this that is obvious to someone used to cross-compiling Rust programs on Windows... [1] https://github.com/rust-lang/rust/issues/47048 https://github.com/rust-lang/rust/issues/53454 https://github.com/rust-lang/cargo/issues/6754

commitc67b43975248c0ad3e4e699623f05f472fc48a9a authorMartin Nordholts <enselic@gmail.com> dateWed 6 Jan 2021, 21:27 (6 years ago) parent2b44940
1 file changed+2−4
.github/workflows/CICD.yml+2−4
.github/workflows/CICD.yml+2−4
@@ -92,9 +92,9 @@ jobs:
9292 - { os: ubuntu-18.04 , target: x86_64-unknown-linux-musl , use-cross: use-cross }
9393 - { os: ubuntu-16.04 , target: x86_64-unknown-linux-gnu }
9494 - { os: macos-latest , target: x86_64-apple-darwin }
95− # - { os: windows-latest , target: i686-pc-windows-gnu } ## disabled; linker errors (missing '_imp____acrt_iob_func')
95+ # - { os: windows-latest , target: i686-pc-windows-gnu } ## disabled; error: linker `i686-w64-mingw32-gcc` not found
9696 - { os: windows-latest , target: i686-pc-windows-msvc }
97− # - { os: windows-latest , target: x86_64-pc-windows-gnu } ## disabled; linker errors (missing '_imp____acrt_iob_func')
97+ - { os: windows-latest , target: x86_64-pc-windows-gnu }
9898 - { os: windows-latest , target: x86_64-pc-windows-msvc }
9999 steps:
100100 - name: Git checkout
@@ -112,8 +112,6 @@ jobs:
112112 run: |
113113 # toolchain
114114 TOOLCHAIN="stable" ## default to "stable" toolchain
115− # * specify alternate TOOLCHAIN for *-pc-windows-gnu targets; gnu targets on Windows are broken for the standard *-pc-windows-msvc toolchain (refs: <https://github.com/rust-lang/rust/issues/47048>, <https://github.com/rust-lang/rust/issues/53454>, <https://github.com/rust-lang/cargo/issues/6754>)
116− case ${{ matrix.job.target }} in *-pc-windows-gnu) TOOLCHAIN="stable-${{ matrix.job.target }}" ;; esac;
117115 # * use requested TOOLCHAIN if specified
118116 if [ -n "${{ matrix.job.toolchain }}" ]; then TOOLCHAIN="${{ matrix.job.toolchain }}" ; fi
119117 echo ::set-output name=TOOLCHAIN::${TOOLCHAIN}