Skip to content

Commit ea0490c

Browse files
committed
Fix CI
1 parent 8dbe6bc commit ea0490c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

builds/prepare_builds/templates/Cargo.toml.tera

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ palette = "0.7"
4747
wasm-opt = [
4848
'-O4',
4949
'--dce',
50+
# The two options below are needed because of: https://github.com/rustwasm/wasm-pack/issues/1501
5051
'--enable-bulk-memory',
52+
'--enable-nontrapping-float-to-int',
5153
{%- for flag in additional_wasm_opt_flags %}
5254
'{{ flag }}',
5355
{%- endfor %}

0 commit comments

Comments
 (0)