Skip to content

Commit a1fcafa

Browse files
committed
Formatting.
1 parent d3f5745 commit a1fcafa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Go Report](https://goreportcard.com/badge/github.com/ncruces/go-sqlite3)](https://goreportcard.com/report/github.com/ncruces/go-sqlite3)
55
[![Go Coverage](https://github.com/ncruces/go-sqlite3/wiki/coverage.svg)](https://github.com/ncruces/go-sqlite3/wiki/Test-coverage-report)
66

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.\
88
It provides a [`database/sql`](https://pkg.go.dev/database/sql) compatible driver,
99
as well as direct access to most of the [C SQLite API](https://sqlite.org/cintro.html).
1010

embed/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BINARYEN="$ROOT/tools/binaryen-version_117/bin"
88
WASI_SDK="$ROOT/tools/wasi-sdk-22.0/bin"
99

1010
"$WASI_SDK/clang" --target=wasm32-wasi -std=c17 -flto -g0 -O2 \
11-
-Wall -Wextra -Wno-unused-parameter \
11+
-Wall -Wextra -Wno-unused-parameter \
1212
-o sqlite3.wasm "$ROOT/sqlite3/main.c" \
1313
-I"$ROOT/sqlite3" \
1414
-mexec-model=reactor \

vfs/tests/mptest/testdata/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ BINARYEN="$ROOT/tools/binaryen-version_117/bin"
88
WASI_SDK="$ROOT/tools/wasi-sdk-22.0/bin"
99

1010
"$WASI_SDK/clang" --target=wasm32-wasi -std=c17 -flto -g0 -O2 \
11-
-o mptest.wasm main.c \
11+
-o mptest.wasm main.c \
1212
-I"$ROOT/sqlite3" \
1313
-msimd128 -mmutable-globals \
1414
-mbulk-memory -mreference-types \
1515
-mnontrapping-fptoint -msign-ext \
1616
-fno-stack-protector -fno-stack-clash-protection \
1717
-Wl,--stack-first \
1818
-Wl,--import-undefined \
19-
-D_HAVE_SQLITE_CONFIG_H \
19+
-D_HAVE_SQLITE_CONFIG_H -DHAVE_USLEEP \
2020
-DSQLITE_DEFAULT_SYNCHRONOUS=0 \
2121
-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 \
2424
-D_WASI_EMULATED_GETPID -lwasi-emulated-getpid \
2525
-Wl,--export=aligned_alloc
2626

0 commit comments

Comments
 (0)