File tree Expand file tree Collapse file tree 5 files changed +69
-1
lines changed Expand file tree Collapse file tree 5 files changed +69
-1
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,20 @@ no-content-hint = [
6969
7070[lints ]
7171workspace = true
72+
73+ # https://github.com/trunk-rs/trunk/issues/991
74+ [package .metadata .wasm-pack .profile .profiling ]
75+ wasm-opt = [
76+ ' -O' ,
77+ ' --enable-bulk-memory' ,
78+ ' --enable-sign-ext' ,
79+ ' --enable-nontrapping-float-to-int' ,
80+ ]
81+
82+ [package .metadata .wasm-pack .profile .release ]
83+ wasm-opt = [
84+ ' -O' ,
85+ ' --enable-bulk-memory' ,
86+ ' --enable-sign-ext' ,
87+ ' --enable-nontrapping-float-to-int' ,
88+ ]
Original file line number Diff line number Diff line change @@ -71,3 +71,20 @@ no-content-hint = [
7171
7272[lints ]
7373workspace = true
74+
75+ # https://github.com/trunk-rs/trunk/issues/991
76+ [package .metadata .wasm-pack .profile .profiling ]
77+ wasm-opt = [
78+ ' -O' ,
79+ ' --enable-bulk-memory' ,
80+ ' --enable-sign-ext' ,
81+ ' --enable-nontrapping-float-to-int' ,
82+ ]
83+
84+ [package .metadata .wasm-pack .profile .release ]
85+ wasm-opt = [
86+ ' -O' ,
87+ ' --enable-bulk-memory' ,
88+ ' --enable-sign-ext' ,
89+ ' --enable-nontrapping-float-to-int' ,
90+ ]
Original file line number Diff line number Diff line change @@ -41,3 +41,20 @@ default = ["full"]
4141
4242[lints ]
4343workspace = true
44+
45+ # https://github.com/trunk-rs/trunk/issues/991
46+ [package .metadata .wasm-pack .profile .profiling ]
47+ wasm-opt = [
48+ ' -O' ,
49+ ' --enable-bulk-memory' ,
50+ ' --enable-sign-ext' ,
51+ ' --enable-nontrapping-float-to-int' ,
52+ ]
53+
54+ [package .metadata .wasm-pack .profile .release ]
55+ wasm-opt = [
56+ ' -O' ,
57+ ' --enable-bulk-memory' ,
58+ ' --enable-sign-ext' ,
59+ ' --enable-nontrapping-float-to-int' ,
60+ ]
Original file line number Diff line number Diff line change @@ -104,3 +104,20 @@ no-content-hint = [
104104
105105[lints ]
106106workspace = true
107+
108+ # https://github.com/trunk-rs/trunk/issues/991
109+ [package .metadata .wasm-pack .profile .profiling ]
110+ wasm-opt = [
111+ ' -O' ,
112+ ' --enable-bulk-memory' ,
113+ ' --enable-sign-ext' ,
114+ ' --enable-nontrapping-float-to-int' ,
115+ ]
116+
117+ [package .metadata .wasm-pack .profile .release ]
118+ wasm-opt = [
119+ ' -O' ,
120+ ' --enable-bulk-memory' ,
121+ ' --enable-sign-ext' ,
122+ ' --enable-nontrapping-float-to-int' ,
123+ ]
Original file line number Diff line number Diff line change 345345 "resolve.exports" : " 2.0.3" ,
346346 "tslib" : " 2.5.2"
347347 }
348- }
348+ }
You can’t perform that action at this time.
0 commit comments