mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 13:39:12 +00:00
34 lines
681 B
Makefile
34 lines
681 B
Makefile
build:
|
|
cargo build
|
|
|
|
test:
|
|
cargo nextest run
|
|
|
|
# test without proptest
|
|
test-fast:
|
|
RUSTFLAGS='--cfg no_proptest' cargo nextest run
|
|
|
|
check-unsafe:
|
|
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
|
|
|
|
deny:
|
|
cargo deny check
|
|
|
|
crev:
|
|
cargo crev crate check
|
|
|
|
fuzz-long TARGET:
|
|
cargo fuzz run {{TARGET}} -- -max_total_time=300 -max_len=4000 -jobs=2
|
|
|
|
quick-fuzz:
|
|
cargo fuzz run yata -- -max_total_time=10 -max_len=1000 &
|
|
cargo fuzz run text -- -max_total_time=10 -max_len=1000
|
|
|
|
flame:
|
|
cargo flamegraph --example test --features=fuzzing --root
|
|
|
|
bench *FLAGS:
|
|
cargo bench --features fuzzing {{FLAGS}}
|
|
|
|
mem:
|
|
cargo run --example mem -r --features=fuzzing,mem-prof
|