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.
closes #357
How to run
and extract it to
ui/frontend/intellisence/pkg
. (This is output ofwasm-bindgen
from my fork ofrust-analyzer-wasm
repo, you can also build it from source but downloading it will save you some time and trouble)yarn watch
(or anything that makesui/frontend/build
directory)syn-file-expand-cli
with cargo. This is used for packing standard library to a single file for ra.bash generate-crate-src.sh
insideui/frontend
. This will actually pack standard library.ui/frontend/build/assets/assets
toui/frontend/build/assets
. This is becausera-wasm
tries to get somethings like/assets/assets/foo
and even/assets/assets/assets/bar
, and I don't know how to fix it.sfz --coi
. You can install sfz via cargo or use your static server of choice, but send coop and coep headers in order to make wasm threads working.These steps should also be done for production, but I don't know what is the best way for it.
Things that might be wrong/you may don't like