-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split
all-is-cubes-wasm
package out of the main workspace.
This has the advantage that, by being its own workspace, it can have its own `.cargo/config.toml` which specifies (including to rust-analyzer) that it should *always* be built for wasm, so we can have IDE assistance with editing the wasm-only code. It also means we don't have to carefully `cfg` out all the wasm code (though a small amount is useful for host-side tests). Future work: We should also consider splitting the wasm builds in CI for more parallelism, since they share no artifacts except for `xtask`.
- Loading branch information
Showing
8 changed files
with
2,403 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,6 @@ | |
"rust-analyzer.linkedProjects": [ | ||
"Cargo.toml", | ||
"fuzz/Cargo.toml", | ||
], | ||
"all-is-cubes-wasm/Cargo.toml", | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
target = "wasm32-unknown-unknown" |
Oops, something went wrong.