projects
/
platform
/
upstream
/
rust-synstructure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d1d78
)
Add proc-macro feature
author
DongHun Kwak
<dh0128.kwak@samsung.com>
Thu, 30 Mar 2023 00:50:30 +0000
(09:50 +0900)
committer
DongHun Kwak
<dh0128.kwak@samsung.com>
Thu, 30 Mar 2023 00:50:30 +0000
(09:50 +0900)
packaging/rust-synstructure.spec
patch
|
blob
|
history
diff --git
a/packaging/rust-synstructure.spec
b/packaging/rust-synstructure.spec
index
f3cff85
..
f27d913
100644
(file)
--- a/
packaging/rust-synstructure.spec
+++ b/
packaging/rust-synstructure.spec
@@
-51,6
+51,7
@@
cp %{SOURCE1} .
%{rustc_std_build} --crate-type=dylib \
--crate-name=%{real_crate_name} \
%{?rustc_edition:--edition=%{rustc_edition}} \
+ --cfg='feature="proc-macro"' \
%rust_dylib_extern proc_macro2 \
%rust_dylib_extern quote \
%rust_dylib_extern syn \