-
-
Notifications
You must be signed in to change notification settings - Fork 787
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
51 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/x86_64-unknown-linux-gnu/serde_derive | ||
/serde_derive/serde_derive-x86_64-unknown-linux-gnu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[package] | ||
name = "serde_derive" | ||
version = "1.0.171" | ||
authors = ["David Tolnay <dtolnay@gmail.com>"] | ||
publish = false | ||
|
||
[lib] | ||
doctest = false | ||
|
||
[[bin]] | ||
name = "serde_derive" | ||
path = "main.rs" | ||
|
||
[dependencies] | ||
proc-macro2 = "1" | ||
quote = { version = "1", default-features = false } | ||
syn = { version = "2.0.25", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] } |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
#!/bin/bash | ||
|
||
cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null | ||
set -e -x | ||
|
||
# TODO: Sanitize host filesystem paths. https://github.com/rust-lang/cargo/issues/12137 | ||
|
||
cargo +nightly build \ | ||
--manifest-path serde_derive/Cargo.toml \ | ||
--manifest-path bin/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 | ||
--out-dir serde_derive | ||
|
||
#upx --best --lzma x86_64-unknown-linux-gnu/serde_derive | ||
rm -f serde_derive/serde_derive-x86_64-unknown-linux-gnu | ||
mv serde_derive/serde_derive{,-x86_64-unknown-linux-gnu} | ||
|
||
#upx --best --lzma serde_derive/serde_derive-x86_64-unknown-linux-gnu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
[package] | ||
name = "serde_derive" | ||
version = "1.0.171" | ||
name = "serde_derive-x86_64-unknown-linux-gnu" | ||
version = "1.0.171-alpha.3" | ||
authors = ["David Tolnay <dtolnay@gmail.com>"] | ||
publish = false | ||
categories = ["no-std", "no-std::no-alloc"] | ||
description = "Precompiled implementation of #[derive(Serialize, Deserialize)]" | ||
documentation = "https://serde.rs/derive.html" | ||
edition = "2015" | ||
homepage = "https://serde.rs" | ||
include = ["serde_derive", "src"] | ||
keywords = ["serde", "serialization", "no_std", "derive"] | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/serde-rs/serde" | ||
|
||
[lib] | ||
doctest = false | ||
|
||
[[bin]] | ||
name = "serde_derive" | ||
path = "main.rs" | ||
proc-macro = true | ||
|
||
[features] | ||
default = [] | ||
deserialize_in_place = [] | ||
|
||
[package.metadata.docs.rs] | ||
targets = ["x86_64-unknown-linux-gnu"] | ||
|
||
[dependencies] | ||
proc-macro2 = "1" | ||
quote = { version = "1", default-features = false } | ||
syn = { version = "2.0.25", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] } | ||
[workspace] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.