You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/src/assets/index.md
+1
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ This will typically look like: `<link data-trunk rel="{type}" href="{path}" ..ot
25
25
-`data-cargo-all-features`: (optional) Enables all Cargo features.
26
26
- Neither compatible with `data-cargo-features` nor `data-cargo-no-default-features`.
27
27
-`data-wasm-opt`: (optional) run wasm-opt with the set optimization level. The possible values are `0`, `1`, `2`, `3`, `4`, `s`, `z` or an _empty value_ for wasm-opt's default. Set this option to `0` to disable wasm-opt explicitly. The values `1-4` are increasingly stronger optimization levels for speed. `s` and `z` (z means more optimization) optimize for binary size instead. Only used in `--release` mode.
28
+
-`data-wasm-opt-params`: (optional) run wasm-opt with the additional params. Only used in `--release` mode.
28
29
-`data-keep-debug`: (optional) instruct `wasm-bindgen` to preserve debug info in the final WASM output, even for `--release` mode. This may conflict with the use of wasm-opt, so to be sure, it is recommended to set `data-wasm-opt="0"` when using this option.
29
30
-`data-no-demangle`: (optional) instruct `wasm-bindgen` to not demangle Rust symbol names.
30
31
-`data-reference-types`: (optional) instruct `wasm-bindgen` to enable [reference types](https://rustwasm.github.io/docs/wasm-bindgen/reference/reference-types.html).
Copy file name to clipboardExpand all lines: site/content/assets.md
+1
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ This will typically look like: `<link data-trunk rel="{type}" href="{path}" ..ot
29
29
-`data-cargo-all-features`: (optional) Enables all Cargo features.
30
30
- Neither compatible with `data-cargo-features` nor `data-cargo-no-default-features`.
31
31
-`data-wasm-opt`: (optional) run wasm-opt with the set optimization level. The possible values are `0`, `1`, `2`, `3`, `4`, `s`, `z` or an _empty value_ for wasm-opt's default. Set this option to `0` to disable wasm-opt explicitly. The values `1-4` are increasingly stronger optimization levels for speed. `s` and `z` (z means more optimization) optimize for binary size instead. Only used in `--release` mode.
32
+
-`data-wasm-opt-params`: (optional) run wasm-opt with the additional params. Only used in `--release` mode.
32
33
-`data-keep-debug`: (optional) instruct `wasm-bindgen` to preserve debug info in the final WASM output, even for `--release` mode. This may conflict with the use of wasm-opt, so to be sure, it is recommended to set `data-wasm-opt="0"` when using this option.
33
34
-`data-no-demangle`: (optional) instruct `wasm-bindgen` to not demangle Rust symbol names.
34
35
-`data-reference-types`: (optional) instruct `wasm-bindgen` to enable [reference types](https://rustwasm.github.io/docs/wasm-bindgen/reference/reference-types.html).
0 commit comments