Skip to content
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

Specify wasm32-unknown-unknown target inside .cargo/config #61

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

Conversation

avrong
Copy link

@avrong avrong commented Jun 2, 2021

The target setting in the cargo config can provide IDEs with an understanding of which target-specific code insight to show in the project. Both IntelliJ Rust and rust-analyzer respect this setting.

In IntelliJ Rust, the wasm-pack-template is one of the options to create a new project, and the inclusion of such a config setting seems to be convenient.

Related to intellij-rust/intellij-rust#7262

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

Successfully merging this pull request may close these issues.

None yet

1 participant