-
Notifications
You must be signed in to change notification settings - Fork 10
/
justfile
44 lines (31 loc) · 966 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
37
38
39
40
41
42
43
44
default:
@just --list
build:
cargo build --release
build-all: build
cd playground/ && just build
clean:
cargo clean
clean-all: clean
cd playground/ && just clean
fmt:
cargo +nightly fmt --all
fmt-all: fmt
cd playground/ && just fmt
lint:
cargo +nightly fmt --all -- --check
cargo clippy --all-features --all-targets --workspace -- --deny=warnings
lint-all: lint
cd playground/ && just lint
run-playground:
cd playground/ && just run
run-pprof *args:
cargo run --features='pprof' --no-default-features --profile='pprof' -- {{args}}
run-trace *args:
cargo run --features='gc-stress,gc-trace,vm-trace' -- {{args}}
test *args:
cargo nextest run --features='gc-stress,gc-trace,vm-trace' --workspace {{args}}
test-miri *args:
MIRIFLAGS='-Zmiri-disable-isolation' cargo +nightly miri nextest run \
--features='gc-stress,gc-trace,vm-trace' --no-default-features \
--workspace {{args}}