Skip to content

Commit d25cc7c

Browse files
committed
Fix Miri.
1 parent a28be8b commit d25cc7c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060
- name: fmt
6161
run: cargo fmt --all --check
6262
- name: miri
63-
run: cargo miri test
63+
run: cargo miri test --no-default-features

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories = ["data-structures", "science"]
1414

1515
[dependencies]
1616
ndarray = "0.15.6"
17-
ndarray-slice = "0.3.1"
17+
ndarray-slice = { version = "0.3.1", default-features = false, features = ["std"] }
1818
ordered-float = "4.2.0"
1919
num-integer = "0.1.46"
2020
num-traits = "0.2.19"
@@ -28,6 +28,7 @@ quickcheck = { version = "1.0.3", default-features = false }
2828
quickcheck_macros = "1.0.0"
2929

3030
[features]
31+
default = ["ndarray-slice/stacker"]
3132
rayon = ["dep:rayon", "ndarray-slice/rayon", "ndarray/rayon"]
3233

3334
[[bench]]

0 commit comments

Comments
 (0)