diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2023-02-17 15:39:39 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2023-02-17 15:40:07 +0900 |
commit | b3740707401f8dae31524ec5811d1b637c91a08a (patch) | |
tree | cc8d3aaf78fe303944efcbeae3909cd8e3d6d9d0 | |
parent | 1ac4a198393aca2c97074643ba849bfb9fd3c711 (diff) | |
download | rust-serde-b3740707401f8dae31524ec5811d1b637c91a08a.tar.gz rust-serde-b3740707401f8dae31524ec5811d1b637c91a08a.tar.bz2 rust-serde-b3740707401f8dae31524ec5811d1b637c91a08a.zip |
Add std config
-rw-r--r-- | packaging/rust-serde.spec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/rust-serde.spec b/packaging/rust-serde.spec index 784f63c..1d13d92 100644 --- a/packaging/rust-serde.spec +++ b/packaging/rust-serde.spec @@ -37,6 +37,7 @@ cp %{SOURCE1} . %build %{rustc_std_build} --crate-type=dylib \ --crate-name=%{real_crate_name} \ + --cfg='feature="std"' \ -lserde_derive \ ./src/lib.rs |