mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 10:22:54 +08:00
This facilitates using different Go and wasm-bindgen-cli versions more
easily, which will be needed for the new teleport_18 version.
(cherry picked from commit 2dee29888f)
16 lines
662 B
Diff
16 lines
662 B
Diff
# Based on https://github.com/gravitational/teleport/commit/994890fb05360b166afd981312345a4cf01bc422.patch?full_index=1
|
|
diff --git a/web/packages/shared/libs/ironrdp/Cargo.toml b/web/packages/shared/libs/ironrdp/Cargo.toml
|
|
index 4252ba95372bdab9a1e2f74e164e303bedd5eee8..4c203290984223564f50ee775a137e86f3c2ddf0 100644
|
|
--- a/web/packages/shared/libs/ironrdp/Cargo.toml
|
|
+++ b/web/packages/shared/libs/ironrdp/Cargo.toml
|
|
@@ -7,6 +7,9 @@ publish.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
+[package.metadata.wasm-pack.profile.release]
|
|
+wasm-opt = false
|
|
+
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|