Replies: 1 comment 2 replies
-
Is there anything distinctive in the structure of your code base that would allow us to pick up on different toolchain being applied to the WASM part? Do you e.g. have a We could probably make it work with toolchains, which landed a few months back. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I work on some code bases that target wasm and native targets. ~95% of the code is shared, but there are a few key modules/crates that are split using
#[cfg(target_arch = "wasm32")]
style attributes.In vscode, I can have separate
native.code-workspace
andwasm.code-workspace
files with something likeThis lets me have two different vscode workspaces open at the same time and jump between them if I need to focus on code specific to a given target.
Is there any way to accomplish something similar in zed?
I found this issue, which would give me a direct equivalent, but I'm curious if there's some other way of doing things that might work right now: Support opening .code-workspace files to open vs code type workspace directly
This also seems related:
Configure rust toolchain on a per-folder/project level
Beta Was this translation helpful? Give feedback.
All reactions