-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yml
41 lines (33 loc) · 968 Bytes
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3"
env:
TARGET: x86_64-apple-darwin
tasks:
default:
cmds:
- task: test
- task: clippy-tests
- task: test-address-sanitizer
test:
cmds:
- cargo test --features barrier-protected-runtime -- --nocapture
test-miri:
cmds:
- cargo miri test -Z build-std --target $TARGET --features barrier-protected-runtime -- --nocapture
env:
MIRIFLAGS: -Zmiri-backtrace=full -Zmiri-disable-isolation
doc:
cmds:
- cargo +nightly doc -p async-local --open --features barrier-protected-runtime
env:
RUSTDOCFLAGS: --cfg docsrs
clippy-tests:
cmds:
- cargo clippy --tests --features barrier-protected-runtime
check-tests:
cmds:
- cargo check --tests --features barrier-protected-runtime
test-address-sanitizer:
cmds:
- cargo test -Z build-std --target $TARGET --features barrier-protected-runtime -- --nocapture
ev:
RUSTFLAGS: -Z sanitizer=address