mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:04:43 +01:00
rust: quote: enable support in kbuild
With all the new files in place and ready from the new crate, enable the support for it in the build system. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Gary Guo <gary@garyguo.net> Tested-by: Gary Guo <gary@garyguo.net> Tested-by: Jesung Yang <y.j3ms.n@gmail.com> Link: https://patch.msgid.link/20251124151837.2184382-15-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
This commit is contained in:
parent
51177f023c
commit
88de91cc1c
3 changed files with 43 additions and 3 deletions
|
|
@ -93,6 +93,13 @@ def generate_crates(srctree, objtree, sysroot_src, external_src, cfgs, core_edit
|
|||
cfg=crates_cfgs["proc_macro2"],
|
||||
)
|
||||
|
||||
append_crate(
|
||||
"quote",
|
||||
srctree / "rust" / "quote" / "lib.rs",
|
||||
["alloc", "proc_macro", "proc_macro2"],
|
||||
cfg=crates_cfgs["quote"],
|
||||
)
|
||||
|
||||
append_crate(
|
||||
"macros",
|
||||
srctree / "rust" / "macros" / "lib.rs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue