add missing features
authorWoohyun Jung <wh0705.jung@samsung.com>
Tue, 21 Mar 2023 01:16:29 +0000 (10:16 +0900)
committerWoohyun Jung <wh0705.jung@samsung.com>
Tue, 21 Mar 2023 01:16:29 +0000 (10:16 +0900)
packaging/rust-linux-raw-sys.spec

index e42d8f2ec2711bf29c3304d74628df8ca4ede635..9509936e55df104cdeff38314e1ecaab8fd27181 100644 (file)
@@ -46,6 +46,9 @@ cp %{SOURCE1} .
  %{rustc_std_build} --crate-type=dylib \
          --crate-name=%{real_crate_name} \
          %{?rustc_edition:--edition=%{rustc_edition}} \
+         --cfg='feature="std"' \
+         --cfg='feature="general"' \
+         --cfg='feature="errno"' \
          ./src/lib.rs
 
 # ==========================================================