From d315a999d80947b5c965d2440568e9ab3e5e46c8 Mon Sep 17 00:00:00 2001 From: Woohyun Jung Date: Tue, 21 Mar 2023 10:16:29 +0900 Subject: [PATCH] add missing features --- packaging/rust-linux-raw-sys.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/rust-linux-raw-sys.spec b/packaging/rust-linux-raw-sys.spec index e42d8f2..9509936 100644 --- a/packaging/rust-linux-raw-sys.spec +++ b/packaging/rust-linux-raw-sys.spec @@ -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 # ========================================================== -- 2.34.1