
* Fixing baby_no_std * Fixed warnings for no_std * Fix aarch build, clippy * oops nyx again * Using CString from alloc
34 lines
717 B
TOML
34 lines
717 B
TOML
[env]
|
|
FUZZER_NAME="fuzzer"
|
|
PROJECT_DIR = { script = ["pwd"] }
|
|
|
|
[tasks.unsupported]
|
|
script_runner="@shell"
|
|
script='''
|
|
echo "Cargo-make not integrated yet on this"
|
|
'''
|
|
|
|
# Fuzzer
|
|
[tasks.build]
|
|
command = "cargo"
|
|
args = ["build", "--release", "-Zbuild-std=core,alloc", "--target", "x86_64-unknown-linux-gnu"]
|
|
|
|
# Test
|
|
[tasks.test]
|
|
linux_alias = "test_unix"
|
|
mac_alias = "unsupported"
|
|
windows_alias = "unsupported"
|
|
|
|
[tasks.test_unix]
|
|
script='''
|
|
cargo run -Zbuild-std=core,alloc --target x86_64-unknown-linux-gnu || true
|
|
'''
|
|
dependencies = ["build"]
|
|
|
|
[tasks.build_aarch]
|
|
script = "cargo +nightly build -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release"
|
|
|
|
# Clean
|
|
[tasks.clean]
|
|
command = "cargo"
|
|
args = ["clean"] |