Amjad50 / Emerald

An Operating System in Rust
https://amjad.alsharafi.dev/Emerald
MIT License
12 stars 0 forks source link

Add proc macro crate for several proc macros we want #117

Open Amjad50 opened 1 month ago

Amjad50 commented 1 month ago

Currently we have cmdline_struct and alsotesting::test macros which surround struct/functions.

There are downsides to this:

There is this very nice crate: https://crates.io/crates/macro_rules_attribute. And it works really well.

But I don't want to add more deps for such a simple thing that can be done in proc macro, so a good exercise