Add feature std accepted/tizen_rust tizen accepted/tizen/rust/20231016.022303
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 4 Apr 2023 02:22:05 +0000 (11:22 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 4 Apr 2023 02:22:05 +0000 (11:22 +0900)
packaging/rust-zstd-safe.spec

index 3e9f1dea2d4ef5a04a685848fb60f0d7db2df625..23b685a2022d3a69afea807bc85549c795ea7f57 100644 (file)
@@ -43,6 +43,7 @@ cp %{SOURCE1} .
 %{rustc_std_build} --crate-type=dylib \
         --crate-name=%{real_crate_name} \
         %{?rustc_edition:--edition=%{rustc_edition}} \
+        --cfg='feature="std"' \
         --cfg='feature="arrays"' \
         --cfg='feature="zdict_builder"' \
         %rust_dylib_extern libc \