Skip to content

Commit 9e32177

Browse files
committed
Move inner data to lib.rs
1 parent 690cae5 commit 9e32177

File tree

7 files changed

+237
-353
lines changed

7 files changed

+237
-353
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
- name: Run cargo check (without dev-dependencies to catch missing feature flags)
3838
if: startsWith(matrix.rust, 'nightly')
3939
run: cargo check -Z features=dev_dep
40-
- run: cargo test --features __test --all
41-
- run: cargo build --no-default-features --all
40+
- run: cargo test --all
41+
- run: cargo test --no-default-features --tests
4242
- name: Install cargo-hack
4343
uses: taiki-e/install-action@cargo-hack
4444
- run: rustup target add thumbv7m-none-eabi
@@ -79,7 +79,7 @@ jobs:
7979
- uses: actions/checkout@v3
8080
- name: Install Rust
8181
run: rustup toolchain install nightly --component miri && rustup default nightly
82-
- run: cargo miri test --features __test --all
82+
- run: cargo miri test --all
8383
env:
8484
MIRIFLAGS: -Zmiri-strict-provenance -Zmiri-symbolic-alignment-check -Zmiri-disable-isolation
8585
RUSTFLAGS: ${{ env.RUSTFLAGS }} -Z randomize-layout

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ exclude = ["/.*"]
1818
default = ["std"]
1919
std = ["parking"]
2020

21-
# Unstable, test only feature. Do not enable this.
22-
__test = []
23-
2421
[dependencies]
2522
crossbeam-utils = { version = "0.8.12", default-features = false }
2623
parking = { version = "2.0.0", optional = true }

src/inner.rs

Lines changed: 0 additions & 213 deletions
This file was deleted.

0 commit comments

Comments
 (0)