File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 with :
2222 command : check
2323
24- test_nightly_devfeatures :
25- name : Test Suite (Nightly) Dev Features
26- runs-on : ${{ matrix.os }}
27- strategy :
28- matrix :
29- os : [ubuntu-latest, windows-latest]
30- steps :
31- - name : Checkout sources
32- uses : actions/checkout@v4
33-
34- - name : Install nightly toolchain
35- uses : dtolnay/rust-toolchain@nightly
36-
37- - name : Run cargo test
38- uses : clechasseur/rs-cargo@v2
39- with :
40- command : test
41- args : --no-default-features --features dev
42-
4324 test_nightly_allfeatures :
4425 name : Test Suite (Nightly) All Features
4526 runs-on : ${{ matrix.os }}
10586 - name : Install nightly toolchain
10687 uses : dtolnay/rust-toolchain@nightly
10788 with :
108- components : clippy
89+ components : clippy
10990
11091 - uses : clechasseur/rs-cargo@v2
11192 with :
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ nightly_core_intrinsics = []
2424nightly = [
2525 " nightly_core_intrinsics" ,
2626]
27- # required features to run tests; additional features enable more tests
28- dev = [" std" ]
2927
3028[dependencies ]
3129allocator-api2 = { version = " 0.4" , default-features = false }
Original file line number Diff line number Diff line change 55 cargo + nightly check --all-features
66
77test :
8- cargo + nightly test --no-default-features --features dev
8+ cargo + stable test
99 env RUSTFLAGS=" -C target-cpu=native" cargo + nightly test --all-features
1010
1111miri :
@@ -48,4 +48,4 @@ generate-readme:
4848 cargo doc2readme
4949
5050mirai :
51- env MIRAI_FLAGS=" --diag=library" cargo mirai --features dev
51+ env MIRAI_FLAGS=" --diag=library" cargo mirai
Original file line number Diff line number Diff line change 8181//! - `nightly` (requires nightly): Enable all nightly-only features (i.e. the
8282//! above two). Enabling this feature is highly recommended when a nightly
8383//! compiler is available. This feature requires a nightly compiler.
84- //! - `dev`: Used internally for running tests.
8584//!
8685//!
8786//! # MSRV Policy
You can’t perform that action at this time.
0 commit comments