Add std feature accepted/tizen_rust tizen accepted/tizen/rust/20231016.020925
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 4 Apr 2023 05:48:11 +0000 (14:48 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 4 Apr 2023 05:48:11 +0000 (14:48 +0900)
packaging/rust-byteorder.spec

index 9225fe6..f8a97d9 100644 (file)
@@ -44,6 +44,7 @@ cp %{SOURCE1} .
 %{rustc_std_build} --crate-type=dylib \
         --crate-name=%{real_crate_name} \
         %{?rustc_edition:--edition=%{rustc_edition}} \
+        --cfg='feature="std"' \
         ./src/lib.rs
 
 # ==========================================================