summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2023-02-17 15:39:39 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2023-02-17 15:40:07 +0900
commitb3740707401f8dae31524ec5811d1b637c91a08a (patch)
treecc8d3aaf78fe303944efcbeae3909cd8e3d6d9d0
parent1ac4a198393aca2c97074643ba849bfb9fd3c711 (diff)
downloadrust-serde-b3740707401f8dae31524ec5811d1b637c91a08a.tar.gz
rust-serde-b3740707401f8dae31524ec5811d1b637c91a08a.tar.bz2
rust-serde-b3740707401f8dae31524ec5811d1b637c91a08a.zip
Add std config
-rw-r--r--packaging/rust-serde.spec1
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