Skip to content

Commit

Permalink
Remove the CI tests for io_lifetimes_use_std mode. (#56)
Browse files Browse the repository at this point in the history
This mode is now on by default on Rust >= 1.63, and off on Rust < 1.63,
so we don't need a separate CI test rule for it now.
  • Loading branch information
sunfishcode authored Nov 28, 2022
1 parent 3b81974 commit f1eb935
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,34 +158,6 @@ jobs:
- run: cargo test --workspace --features=fs-err,os_pipe # TODO: use --all-features
- run: cargo test --workspace --no-default-features

test_use_std:
name: Test with std's types and traits
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [ubuntu-nightly, windows-nightly]
include:
- build: ubuntu-nightly
os: ubuntu-latest
rust: nightly
- build: windows-nightly
os: windows-latest
rust: nightly

env:
RUSTFLAGS: --cfg io_lifetimes_use_std
RUSTDOCFLAGS: --cfg io_lifetimes_use_std

steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: ./.github/actions/install-rust
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --workspace --features=fs-err,os_pipe # TODO: use --all-features
- run: cargo test --workspace --no-default-features

check_nightly:
name: Check on Rust nightly
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit f1eb935

Please sign in to comment.