From a1fcafa780b18200eded8e3b896e263455599600 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Tue, 16 Apr 2024 14:02:23 +0100 Subject: [PATCH] Formatting. --- README.md | 2 +- embed/build.sh | 2 +- vfs/tests/mptest/testdata/build.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dc77781..5568a29 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Go Report](https://goreportcard.com/badge/github.com/ncruces/go-sqlite3)](https://goreportcard.com/report/github.com/ncruces/go-sqlite3) [![Go Coverage](https://github.com/ncruces/go-sqlite3/wiki/coverage.svg)](https://github.com/ncruces/go-sqlite3/wiki/Test-coverage-report) -Go module `github.com/ncruces/go-sqlite3` is `cgo`-free [SQLite](https://sqlite.org/) wrapper.\ +Go module `github.com/ncruces/go-sqlite3` is a `cgo`-free [SQLite](https://sqlite.org/) wrapper.\ It provides a [`database/sql`](https://pkg.go.dev/database/sql) compatible driver, as well as direct access to most of the [C SQLite API](https://sqlite.org/cintro.html). diff --git a/embed/build.sh b/embed/build.sh index d1080a3..c50112c 100755 --- a/embed/build.sh +++ b/embed/build.sh @@ -8,7 +8,7 @@ BINARYEN="$ROOT/tools/binaryen-version_117/bin" WASI_SDK="$ROOT/tools/wasi-sdk-22.0/bin" "$WASI_SDK/clang" --target=wasm32-wasi -std=c17 -flto -g0 -O2 \ - -Wall -Wextra -Wno-unused-parameter \ + -Wall -Wextra -Wno-unused-parameter \ -o sqlite3.wasm "$ROOT/sqlite3/main.c" \ -I"$ROOT/sqlite3" \ -mexec-model=reactor \ diff --git a/vfs/tests/mptest/testdata/build.sh b/vfs/tests/mptest/testdata/build.sh index 576a72a..c55c6d2 100755 --- a/vfs/tests/mptest/testdata/build.sh +++ b/vfs/tests/mptest/testdata/build.sh @@ -8,7 +8,7 @@ BINARYEN="$ROOT/tools/binaryen-version_117/bin" WASI_SDK="$ROOT/tools/wasi-sdk-22.0/bin" "$WASI_SDK/clang" --target=wasm32-wasi -std=c17 -flto -g0 -O2 \ - -o mptest.wasm main.c \ + -o mptest.wasm main.c \ -I"$ROOT/sqlite3" \ -msimd128 -mmutable-globals \ -mbulk-memory -mreference-types \ @@ -16,11 +16,11 @@ WASI_SDK="$ROOT/tools/wasi-sdk-22.0/bin" -fno-stack-protector -fno-stack-clash-protection \ -Wl,--stack-first \ -Wl,--import-undefined \ - -D_HAVE_SQLITE_CONFIG_H \ + -D_HAVE_SQLITE_CONFIG_H -DHAVE_USLEEP \ -DSQLITE_DEFAULT_SYNCHRONOUS=0 \ -DSQLITE_DEFAULT_LOCKING_MODE=0 \ - -DHAVE_USLEEP -DSQLITE_NO_SYNC \ - -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION \ + -DSQLITE_NO_SYNC -DSQLITE_THREADSAFE=0 \ + -DSQLITE_OMIT_LOAD_EXTENSION \ -D_WASI_EMULATED_GETPID -lwasi-emulated-getpid \ -Wl,--export=aligned_alloc