Skip to content

Commit

Permalink
rust: init: remove macros.rs
Browse files Browse the repository at this point in the history
Since all initialization macros have been rewritten using `syn` and
`quote`, the `macros` module does no longer contain any code.
The only thing that is left is documentation that explains the expansion
of the initialization macros. This can now be directly observed in the
source code for the macros (found under `rust/macros`). Since the proc
macro code is much more readable than the declarative macro style.
Thus remove the expanded code.

Signed-off-by: Benno Lossin <[email protected]>
  • Loading branch information
Benno Lossin committed Apr 9, 2024
1 parent 4777db0 commit bc10cb7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 501 deletions.
2 changes: 0 additions & 2 deletions rust/kernel/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ use core::{

#[doc(hidden)]
pub mod __internal;
#[doc(hidden)]
pub mod macros;

/// Initialize and pin a type directly on the stack.
///
Expand Down
Loading

0 comments on commit bc10cb7

Please sign in to comment.