Add experiment to produce precompiled builds of serde_derive

This commit is contained in:
David Tolnay
2023-07-18 12:31:35 -07:00
parent 03da66c805
commit 9e8f14816b
18 changed files with 1448 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/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