-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
extraEnv in rust-anaylzer to define rustflags #14334
Comments
Zed uses something similar but with a more convoluted syntax due to historic reasons unfortunately. |
@SomeoneToIgnore Is there any way to define rustflags for |
No clue. |
This prevents working on wasm projects which use the |
Okay, I could make it work by setting the correct (To be more precise, I was using a |
I simply adhere to the format and import the VSCode configuration. It appears to function correctly.
|
Check for existing issues
Describe the feature
In vscode version rust-analyzer, you can specify env in
rust-analyzer.cargo.extraEnv
to define rustflags to be used while analyzing workspace.How can I specify rustflags in zed?
https://rust-analyzer.github.io/manual.html
If applicable, add mockups / screenshots to help present your vision of the feature
No response
The text was updated successfully, but these errors were encountered: