mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Remove libc dependency on Windows by using Win32 to get env vars
This commit is contained in:
committed by
Amanieu d'Antras
parent
0a5325a16c
commit
130bc86694
+9
-5
@@ -15,7 +15,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: rustup update nightly && rustup default nightly
|
||||
run: rustup update nightly --no-self-update && rustup default nightly
|
||||
- run: ci/style.sh
|
||||
|
||||
docs:
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: rustup update nightly && rustup default nightly
|
||||
run: rustup update nightly --no-self-update && rustup default nightly
|
||||
- run: ci/dox.sh
|
||||
env:
|
||||
CI: 1
|
||||
@@ -45,18 +45,22 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: rustup update nightly && rustup default nightly
|
||||
run: rustup update nightly --no-self-update && rustup default nightly
|
||||
- run: cargo test --manifest-path crates/stdarch-verify/Cargo.toml
|
||||
|
||||
env_override:
|
||||
name: Env Override
|
||||
needs: [style]
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Rust
|
||||
run: rustup update nightly && rustup default nightly
|
||||
run: rustup update nightly --no-self-update && rustup default nightly
|
||||
- run: RUST_STD_DETECT_UNSTABLE=avx cargo test --features=std_detect_env_override --manifest-path crates/std_detect/Cargo.toml env_override_no_avx
|
||||
shell: bash
|
||||
|
||||
test:
|
||||
needs: [style]
|
||||
|
||||
Reference in New Issue
Block a user