mirror of
https://github.com/dtolnay/rust-toolchain
synced 2026-09-14 20:13:54 +00:00
Support force-non-host toolchains
This commit is contained in:
@@ -43,3 +43,19 @@ jobs:
|
||||
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||
- run: cargo check
|
||||
if: matrix.rust == 'nightly' || matrix.rust == 'beta' || matrix.rust == 'stable'
|
||||
|
||||
non-host:
|
||||
name: Non-host toolchain on Windows
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
toolchain: stable-i686-pc-windows-msvc
|
||||
force-non-host: true
|
||||
- name: Check the active toolchain and compiler host
|
||||
run: |
|
||||
test "$(rustup show active-toolchain)" = "stable-i686-pc-windows-msvc (default)"
|
||||
rustc --version --verbose | grep -Fx 'host: i686-pc-windows-msvc'
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user