File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ repository = "https://github.com/japaric/heapless"
19
19
version = " 0.3.6"
20
20
21
21
[features ]
22
+ default = [" const-fn" ]
22
23
const-fn = []
23
24
24
25
[dev-dependencies ]
Original file line number Diff line number Diff line change @@ -5,18 +5,18 @@ main() {
5
5
6
6
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
7
7
cargo test --target $TARGET
8
- cargo test --target $TARGET --all -features
8
+ cargo test --target $TARGET --no-default -features
9
9
cargo test --target $TARGET --release
10
- cargo test --target $TARGET --release --all -features
10
+ cargo test --target $TARGET --release --no-default -features
11
11
12
12
export RUSTFLAGS=" -Z sanitizer=thread"
13
13
export RUST_TEST_THREADS=1
14
14
export TSAN_OPTIONS=" suppressions=$( pwd) /blacklist.txt"
15
15
16
16
cargo test --test tsan --target $TARGET
17
- cargo test --test tsan --target $TARGET --all -features
17
+ cargo test --test tsan --target $TARGET --no-default -features
18
18
cargo test --test tsan --target $TARGET --release
19
- cargo test --test tsan --target $TARGET --release --all -features
19
+ cargo test --test tsan --target $TARGET --release --no-default -features
20
20
fi
21
21
}
22
22
You can’t perform that action at this time.
0 commit comments