File tree Expand file tree Collapse file tree 11 files changed +205
-211
lines changed Expand file tree Collapse file tree 11 files changed +205
-211
lines changed Original file line number Diff line number Diff line change 46
46
-o bcw2.wasm build/main.c \
47
47
-I" $ROOT /sqlite3/libc" -I" build" \
48
48
-mexec-model=reactor \
49
- -msimd128 - mmutable-globals -mmultivalue \
50
- -mbulk-memory -mreference-types \
51
- -mnontrapping-fptoint -msign-ext \
49
+ -mmutable-globals -mnontrapping-fptoint \
50
+ -msimd128 - mbulk-memory -msign-ext \
51
+ -mreference-types -mmultivalue \
52
52
-fno-stack-protector -fno-stack-clash-protection \
53
53
-Wl,--stack-first \
54
54
-Wl,--import-undefined \
61
61
" $BINARYEN /wasm-ctor-eval" -g -c _initialize bcw2.wasm -o bcw2.tmp
62
62
" $BINARYEN /wasm-opt" -g --strip --strip-producers -c -O3 \
63
63
bcw2.tmp -o bcw2.wasm --low-memory-unused \
64
- --enable-simd --enable- mutable-globals --enable-multivalue \
65
- --enable-bulk-memory --enable-reference-types \
66
- --enable-nontrapping-float-to-int --enable-sign-ext
64
+ --enable-mutable-globals --enable-nontrapping-float-to-int \
65
+ --enable-simd --enable- bulk-memory --enable-sign-ext \
66
+ --enable-reference-types --enable-multivalue
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ trap 'rm -f sqlite3.tmp' EXIT
14
14
-o sqlite3.wasm " $ROOT /sqlite3/main.c" \
15
15
-I" $ROOT /sqlite3/libc" -I" $ROOT /sqlite3" \
16
16
-mexec-model=reactor \
17
- -msimd128 - mmutable-globals -mmultivalue \
18
- -mbulk-memory -mreference-types \
19
- -mnontrapping-fptoint -msign-ext \
17
+ -mmutable-globals -mnontrapping-fptoint \
18
+ -msimd128 - mbulk-memory -msign-ext \
19
+ -mreference-types -mmultivalue \
20
20
-fno-stack-protector -fno-stack-clash-protection \
21
21
-Wl,--stack-first \
22
22
-Wl,--import-undefined \
@@ -28,6 +28,6 @@ trap 'rm -f sqlite3.tmp' EXIT
28
28
" $BINARYEN /wasm-ctor-eval" -g -c _initialize sqlite3.wasm -o sqlite3.tmp
29
29
" $BINARYEN /wasm-opt" -g --strip --strip-producers -c -O3 \
30
30
sqlite3.tmp -o sqlite3.wasm --low-memory-unused \
31
- --enable-simd --enable- mutable-globals --enable-multivalue \
32
- --enable-bulk-memory --enable-reference-types \
33
- --enable-nontrapping-float-to-int --enable-sign-ext
31
+ --enable-mutable-globals --enable-nontrapping-float-to-int \
32
+ --enable-simd --enable- bulk-memory --enable-sign-ext \
33
+ --enable-reference-types --enable-multivalue
Original file line number Diff line number Diff line change 19
19
-Wall -Wextra -Wno-unused-parameter -Wno-unused-function \
20
20
-o libc.wasm -I. " $SRCS " \
21
21
-mexec-model=reactor \
22
- -msimd128 - mmutable-globals -mmultivalue \
23
- -mbulk-memory -mreference-types \
24
- -mnontrapping-fptoint -msign-ext \
22
+ -mmutable-globals -mnontrapping-fptoint \
23
+ -msimd128 - mbulk-memory -msign-ext \
24
+ -mreference-types -mmultivalue \
25
25
-fno-stack-protector -fno-stack-clash-protection \
26
26
-Wl,-z,stack-size=4096 \
27
27
-Wl,--stack-first \
54
54
" $BINARYEN /wasm-ctor-eval" -g -c _initialize libc.wasm -o libc.tmp
55
55
" $BINARYEN /wasm-opt" -g --strip --strip-producers -c -O3 \
56
56
libc.tmp -o libc.wasm \
57
- --enable-simd --enable- mutable-globals --enable-multivalue \
58
- --enable-bulk-memory --enable-reference-types \
59
- --enable-nontrapping-float-to-int --enable-sign-ext
57
+ --enable-mutable-globals --enable-nontrapping-float-to-int \
58
+ --enable-simd --enable- bulk-memory --enable-sign-ext \
59
+ --enable-reference-types --enable-multivalue
60
60
61
61
" $BINARYEN /wasm-dis" -o libc.wat libc.wasm
You can’t perform that action at this time.
0 commit comments