diff options
| author | Ethan D. Twardy <[email protected]> | 2024-07-04 14:55:43 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-11-01 21:02:53 +0000 |
| commit | 8d3f50795ac2857b0c2fd43558e078650d58d750 (patch) | |
| tree | b02cac547828d4ab0829a39e077e4b5a87dd7fea /rust/macros/paste.rs | |
| parent | rust: kbuild: expand rusttest target for macros (diff) | |
| download | kernel-8d3f50795ac2857b0c2fd43558e078650d58d750.tar.gz kernel-8d3f50795ac2857b0c2fd43558e078650d58d750.zip | |
rust: enable macros::module! tests
Previously, these tests were ignored due to a missing necessary dependency
on the `kernel` crate. Enable the tests, and update them: for both,
add the parameter to `init()`; for the first one, remove the use of a
kernel parameter mechanism that was never merged.
Signed-off-by: Ethan D. Twardy <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Link: https://github.com/Rust-for-Linux/linux/issues/1076
Link: https://lore.kernel.org/r/[email protected]
[ Rebased (moved the `export` to the `rustdoc_test` rule, enable the
firmware example too). Removed `export` for `RUST_MODFILE`. Removed
unneeded `rust` language in examples, as well as `#[macro_use]`
`extern`s. Reworded accordingly. - Miguel ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions
