mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-12 05:59:14 +00:00
Use SIMD libc.
This commit is contained in:
@@ -10,7 +10,9 @@ WASI_SDK="$ROOT/tools/wasi-sdk/bin"
|
||||
trap 'rm -f sql3parse_table.tmp' EXIT
|
||||
|
||||
"$WASI_SDK/clang" --target=wasm32-wasi -std=c23 -g0 -Oz \
|
||||
-Wall -Wextra -o sql3parse_table.wasm main.c \
|
||||
-Wall -Wextra -Wno-unused-parameter -Wno-unused-function \
|
||||
-o sql3parse_table.wasm main.c \
|
||||
-I"$ROOT/sqlite3" \
|
||||
-mexec-model=reactor \
|
||||
-msimd128 -mmutable-globals -mmultivalue \
|
||||
-mbulk-memory -mreference-types \
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "strings.c"
|
||||
#include "sql3parse_table.c"
|
||||
|
||||
static_assert(offsetof(sql3table, name) == 0, "Unexpected offset");
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user