File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
vfs/tests/mptest/testdata Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Go Report] ( https://goreportcard.com/badge/github.com/ncruces/go-sqlite3 )] ( https://goreportcard.com/report/github.com/ncruces/go-sqlite3 )
5
5
[ ![ Go Coverage] ( https://github.com/ncruces/go-sqlite3/wiki/coverage.svg )] ( https://github.com/ncruces/go-sqlite3/wiki/Test-coverage-report )
6
6
7
- Go module ` github.com/ncruces/go-sqlite3 ` is ` cgo ` -free [ SQLite] ( https://sqlite.org/ ) wrapper.\
7
+ Go module ` github.com/ncruces/go-sqlite3 ` is a ` cgo ` -free [ SQLite] ( https://sqlite.org/ ) wrapper.\
8
8
It provides a [ ` database/sql ` ] ( https://pkg.go.dev/database/sql ) compatible driver,
9
9
as well as direct access to most of the [ C SQLite API] ( https://sqlite.org/cintro.html ) .
10
10
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ BINARYEN="$ROOT/tools/binaryen-version_117/bin"
8
8
WASI_SDK=" $ROOT /tools/wasi-sdk-22.0/bin"
9
9
10
10
" $WASI_SDK /clang" --target=wasm32-wasi -std=c17 -flto -g0 -O2 \
11
- -Wall -Wextra -Wno-unused-parameter \
11
+ -Wall -Wextra -Wno-unused-parameter \
12
12
-o sqlite3.wasm " $ROOT /sqlite3/main.c" \
13
13
-I" $ROOT /sqlite3" \
14
14
-mexec-model=reactor \
Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ BINARYEN="$ROOT/tools/binaryen-version_117/bin"
8
8
WASI_SDK=" $ROOT /tools/wasi-sdk-22.0/bin"
9
9
10
10
" $WASI_SDK /clang" --target=wasm32-wasi -std=c17 -flto -g0 -O2 \
11
- -o mptest.wasm main.c \
11
+ -o mptest.wasm main.c \
12
12
-I" $ROOT /sqlite3" \
13
13
-msimd128 -mmutable-globals \
14
14
-mbulk-memory -mreference-types \
15
15
-mnontrapping-fptoint -msign-ext \
16
16
-fno-stack-protector -fno-stack-clash-protection \
17
17
-Wl,--stack-first \
18
18
-Wl,--import-undefined \
19
- -D_HAVE_SQLITE_CONFIG_H \
19
+ -D_HAVE_SQLITE_CONFIG_H -DHAVE_USLEEP \
20
20
-DSQLITE_DEFAULT_SYNCHRONOUS=0 \
21
21
-DSQLITE_DEFAULT_LOCKING_MODE=0 \
22
- -DHAVE_USLEEP -DSQLITE_NO_SYNC \
23
- -DSQLITE_THREADSAFE=0 - DSQLITE_OMIT_LOAD_EXTENSION \
22
+ -DSQLITE_NO_SYNC -DSQLITE_THREADSAFE=0 \
23
+ -DSQLITE_OMIT_LOAD_EXTENSION \
24
24
-D_WASI_EMULATED_GETPID -lwasi-emulated-getpid \
25
25
-Wl,--export=aligned_alloc
26
26
You can’t perform that action at this time.
0 commit comments