Skip to content

rust: separate parse and codegen in module! #423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: rust
Choose a base branch
from

Conversation

nbdd0121
Copy link
Member

@nbdd0121 nbdd0121 commented Jul 2, 2021

Doing so allows module_misc_device! to do codegen directly instead of
generating a module! invocation. Generating module! invocation is
error-prone and would require significant effort when features are added
to module! macro or when syntax is changed.

Split from #278

@ksquirrel

This comment has been minimized.

@ksquirrel

This comment has been minimized.

Doing so allows `module_misc_device!` to do codegen directly instead of
generating a `module!` invocation. Generating `module!` invocation is
error-prone and would require significant effort when features are added
to `module!` macro or when syntax is changed.

Signed-off-by: Gary Guo <gary@garyguo.net>
@ksquirrel
Copy link
Member

Review of 1bc00dca0f30:

  • ✔️ Commit 1bc00dc: Looks fine!

@nbdd0121
Copy link
Member Author

nbdd0121 commented Jul 2, 2021

transient CI failure again 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants