-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added bulk memory patch to resolve build failure.
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 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
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,14 @@ | ||
diff --git a/web/packages/teleport/src/ironrdp/Cargo.toml b/web/packages/teleport/src/ironrdp/Cargo.toml | ||
index ddcc4db..dc5d76c 100644 | ||
--- a/web/packages/teleport/src/ironrdp/Cargo.toml | ||
+++ b/web/packages/teleport/src/ironrdp/Cargo.toml | ||
@@ -5,6 +5,9 @@ edition.workspace = true | ||
license.workspace = true | ||
publish.workspace = true | ||
|
||
+[package.metadata.wasm-pack.profile.release] | ||
+wasm-opt = ["-O", "--enable-bulk-memory"] | ||
+ | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[lib] |