forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 442
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
Macro syn rewrite #1073
Draft
y86-dev
wants to merge
27
commits into
Rust-for-Linux:rust-next
Choose a base branch
from
y86-dev:macro-syn-rewrite
base: rust-next
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Macro syn rewrite #1073
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
6b2262f
kbuild: rust: apply `CONFIG_WERROR` to hostprogs as well
ojeda a5f77c5
kbuild: rust: use shared host Rust flags for `macros`
ojeda e4527ff
kbuild: rust-analyzer: support key-value `cfg`s
ojeda c3b22c6
rust: proc-macro2: import crate
ojeda 617c120
rust: proc-macro2: add SPDX License Identifiers
ojeda 24954e2
rust: proc-macro2: remove `unicode_ident` dependency
ojeda 925b30e
rust: quote: import crate
ojeda cdad907
rust: quote: add SPDX License Identifiers
ojeda 328f151
rust: syn: import crate
ojeda cef2d41
rust: syn: add SPDX License Identifiers
ojeda 82e9a4f
rust: syn: remove `unicode-ident` dependency
ojeda a59391f
rust: Kbuild: enable `proc-macro2`, `quote` and `syn`
ojeda 1b729e1
rust: macros: fix soundness issue in `module!` macro
y86-dev ed6e1a8
rust: macros: replace `quote!` with `quote::quote` and use `proc-macro2`
y86-dev 8938c4f
rust: macros: rewrite `#[vtable]` using `syn`
y86-dev 638dc79
rust: macros: rewrite `module!` using `syn`
y86-dev bdb4cff
rust: macros: rewrite `Zeroable` derive macro using `syn`
y86-dev 2a88e8a
rust: macros: rewrite `#[pin_data]` using `syn`
y86-dev b8459ad
rust: macros: rewrite `#[pinned_drop]` using `syn`
y86-dev 5d4eb2d
rust: macros: rewrite `__internal_init!` using `syn`
y86-dev a8dae43
rust: macros: remove helpers
y86-dev 45d057b
rust: init: remove macros.rs
y86-dev c7790b6
fixup! rust: macros: rewrite `#[pin_data]` using `syn`
y86-dev 66b9b59
fixup! rust: macros: rewrite `#[pinned_drop]` using `syn`
y86-dev 8d21a65
fixup! rust: macros: rewrite `__internal_init!` using `syn`
y86-dev edd1ce0
fixup! rust: macros: rewrite `Zeroable` derive macro using `syn`
y86-dev 6ad858d
fixup! rust: macros: rewrite `#[vtable]` using `syn`
y86-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to make it as a feature for upstream
syn
?