projects
/
platform
/
upstream
/
rust-linux-raw-sys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad814b5
)
add missing features
author
Woohyun Jung
<wh0705.jung@samsung.com>
Tue, 21 Mar 2023 01:16:29 +0000
(10:16 +0900)
committer
Woohyun Jung
<wh0705.jung@samsung.com>
Tue, 21 Mar 2023 01:16:29 +0000
(10:16 +0900)
packaging/rust-linux-raw-sys.spec
patch
|
blob
|
history
diff --git
a/packaging/rust-linux-raw-sys.spec
b/packaging/rust-linux-raw-sys.spec
index e42d8f2ec2711bf29c3304d74628df8ca4ede635..9509936e55df104cdeff38314e1ecaab8fd27181 100644
(file)
--- 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
# ==========================================================