feat: add justfile

This commit is contained in:
2023-08-26 01:35:28 +08:00
parent 49c352e84c
commit 607b78b6b8
2 changed files with 14 additions and 0 deletions

View File

@@ -12,3 +12,10 @@ getopts = "0.2"
rustc-serialize = "0.3"
crc24 = "0.1"
rand = "0.3"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true

View File

@@ -0,0 +1,7 @@
_:
@just --list
build-nightly:
cargo +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target x86_64-apple-darwin --release