projects
/
platform
/
upstream
/
rust-regex-syntax.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe8da7
)
add missing features
author
Woohyun Jung
<wh0705.jung@samsung.com>
Fri, 17 Mar 2023 06:16:33 +0000
(15:16 +0900)
committer
Woohyun Jung
<wh0705.jung@samsung.com>
Fri, 17 Mar 2023 06:16:33 +0000
(15:16 +0900)
packaging/rust-regex-syntax.spec
patch
|
blob
|
history
diff --git
a/packaging/rust-regex-syntax.spec
b/packaging/rust-regex-syntax.spec
index 77f506dc085508bba3524969f277901023e65592..57a1ff7789cd3e48f9fefba4ce238d1be144db81 100644
(file)
--- a/
packaging/rust-regex-syntax.spec
+++ b/
packaging/rust-regex-syntax.spec
@@
-39,6
+39,14
@@
cp %{SOURCE1} .
%{rustc_std_build} --crate-type=dylib \
--crate-name=%{real_crate_name} \
%{?rustc_edition:--edition=%{rustc_edition}} \
+ --cfg='feature="unicode"' \
+ --cfg='feature="unicode-age"' \
+ --cfg='feature="unicode-bool"' \
+ --cfg='feature="unicode-case"' \
+ --cfg='feature="unicode-gencat"' \
+ --cfg='feature="unicode-perl"' \
+ --cfg='feature="unicode-script"' \
+ --cfg='feature="unicode-segment"' \
./src/lib.rs
# ==========================================================