Skip to content

Commit

Permalink
Enable bulk-memory for wasm by default (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
resulknad committed May 23, 2024
1 parent ac32ec7 commit 05a4475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli-tools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## 0.1.0-git

<!-- Increment to skip CHANGELOG.md test: 2 -->
<!-- Increment to skip CHANGELOG.md test: 3 -->
1 change: 1 addition & 0 deletions crates/cli-tools/src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ impl RustAppletBuild {
match &self.native {
None => {
rustflags.push(format!("-C link-arg=-zstack-size={}", self.stack_size));
rustflags.push("-C target-feature=+bulk-memory".to_string());
cargo.args(["--crate-type=cdylib", "--target=wasm32-unknown-unknown"]);
}
Some(target) => {
Expand Down

0 comments on commit 05a4475

Please sign in to comment.