diff options
author | Ethan D. Twardy <ethan.twardy@gmail.com> | 2024-07-04 09:55:42 -0500 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-11-01 22:02:03 +0100 |
commit | b2c261fa8629dff2bd1143fa790797a773ace102 (patch) | |
tree | 582a0e2eb3179919f86cd1a353e52367c39d8813 /rust/helpers/workqueue.c | |
parent | 718c4069896cabba5c39b637cbb7205927f16ae0 (diff) | |
download | linux-b2c261fa8629dff2bd1143fa790797a773ace102.tar.gz linux-b2c261fa8629dff2bd1143fa790797a773ace102.tar.bz2 linux-b2c261fa8629dff2bd1143fa790797a773ace102.zip |
rust: kbuild: expand rusttest target for macros
Previously, the rusttest target for the macros crate did not specify
the dependencies necessary to run the rustdoc tests. These tests rely on
the kernel crate, so add the dependencies.
Signed-off-by: Ethan D. Twardy <ethan.twardy@gmail.com>
Link: https://github.com/Rust-for-Linux/linux/issues/1076
Link: https://lore.kernel.org/r/20240704145607.17732-2-ethan.twardy@gmail.com
[ Rebased (`alloc` is gone nowadays, sysroot handling is simpler) and
simplified (reused `rustdoc_test` rule instead of adding a new one,
no need for `rustdoc-compiler_builtins`, removed unneeded `macros`
explicit path). Made `vtable` example fail (avoiding to increase
the complexity in the `rusttest` target). Removed unstable
`-Zproc-macro-backtrace` option. Reworded accordingly. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions