mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-29 22:11:09 +00:00
16 lines
439 B
Bash
Executable File
16 lines
439 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null
|
|
|
|
cargo +nightly build \
|
|
--manifest-path serde_derive/Cargo.toml \
|
|
--bin serde_derive \
|
|
--profile precompiled \
|
|
-Z unstable-options \
|
|
-Z build-std=std,panic_abort \
|
|
-Z build-std-features=panic_immediate_abort \
|
|
--target x86_64-unknown-linux-musl \
|
|
--out-dir x86_64-unknown-linux-gnu
|
|
|
|
#upx --best --lzma x86_64-unknown-linux-gnu/serde_derive
|