-
Notifications
You must be signed in to change notification settings - Fork 1.8k
IDE feature support for asm
macro
#11621
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
Comments
I would love to see all the Imagine a kernel function getting called from assembly called edited |
Could you elaborate on the project you are referring to? 😅 Also someone might be picking this up as a GSoC project: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/GSoC.20Proposal.20for.20Rust.20Analyzer |
Updated my comment, and I agree GSoC is the right place for this :) |
Quoting myself from zulip: Alright, basically the asm macro (like the The first thing that needs to be done is adjust the ungram grammar file and parser to parse that correctly, then lowering needs to be done, and finally you can add the completion stuff and whatever other IDE features you'd like:
An aside, test fixtures in the IDE layer, like those in the completions crate do not have access to the standard library, the special first line |
The GSoC doesn't seem to happen so this is up for grabs given my previous instructions fwiw |
feat: IDE support for `asm!` expressions Fixes rust-lang/rust-analyzer#10461, Fixes rust-lang/rust-analyzer#6031 Progresses rust-lang/rust-analyzer#11621 Notably this only works for asm expressions not items yet. Most IDE features work, mainly completions need extra logic still.
We should be able to support asm macro calls with more features like name resolution for locals passed to it, completions, semantic highlighting etc
cc #6031
The text was updated successfully, but these errors were encountered: