-
Notifications
You must be signed in to change notification settings - Fork 1
/
justfile
36 lines (25 loc) · 1009 Bytes
/
justfile
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
#!/usr/bin/env just --justfile
check:
cargo +stable check
cargo +nightly check --all-features
test:
cargo +nightly test --no-default-features --features dev
cargo +nightly test --all-features
full-test: test
env CC="clang" env CFLAGS="-fsanitize=address -fno-omit-frame-pointer" env RUSTFLAGS="-C target-cpu=native -Z sanitizer=address" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu --tests --all-features
env CC="clang" env CFLAGS="-fsanitize=memory -fno-omit-frame-pointer" env RUSTFLAGS="-C target-cpu=native -Z sanitizer=memory" cargo +nightly test -Z build-std --target x86_64-unknown-linux-gnu --tests --all-features
doc:
cargo +nightly doc --all-features
doc-open:
cargo +nightly doc --all-features --open
fmt:
cargo +nightly fmt
fmt-check:
cargo +nightly fmt -- --check
clippy:
cargo +nightly clippy --all-features
full-check: check full-test doc clippy fmt-check
clean:
cargo clean
generate-readme:
cargo doc2readme