]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: add pin-init crate build infrastructure
authorMiguel Ojeda <ojeda@kernel.org>
Sat, 8 Mar 2025 11:05:01 +0000 (11:05 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 16 Mar 2025 20:59:19 +0000 (21:59 +0100)
commitd7659acca7a390b5830f0b67f3aa4a5f9929ab79
tree0550bee1f3ef6ca47af75ab9624cd510a1963b1f
parentb321b9385409800859c2be722c6141909c7221b3
rust: add pin-init crate build infrastructure

Add infrastructure for moving the initialization API to its own crate.
Covers all make targets such as `rust-analyzer` and `rustdoc`. The tests
of pin-init are not added to `rusttest`, as they are already tested in
the user-space repository [1].

Link: https://github.com/Rust-for-Linux/pin-init
Co-developed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://lore.kernel.org/r/20250308110339.2997091-15-benno.lossin@proton.me
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/Makefile
rust/pin-init/internal/src/_lib.rs [new file with mode: 0644]
rust/pin-init/internal/src/lib.rs
rust/pin-init/src/_lib.rs [new file with mode: 0644]
scripts/Makefile.build
scripts/generate_rust_analyzer.py