summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2024-05-30 11:00:25 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-30 11:00:25 +0200
commitb67937c213d1aca24f7717e37a6d20f25d869414 (patch)
tree140caa64326850fd840a2f9636a270f3afc977de
parent[docs] Fix link in domain part (#2946) (diff)
downloadgotosocial-b67937c213d1aca24f7717e37a6d20f25d869414.tar.xz
[docs]: Document build tag for WASM SQLite (#2942)
Follow-up for #2863.
-rwxr-xr-xscripts/build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 67d707d04..f65e5b9b9 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -22,6 +22,7 @@ GO_GCFLAGS=${GO_GCFLAGS-}
# - noerrcaller: disables caller function prefix in errors (slightly better performance, at cost of err readability)
# - debug: enables /debug/pprof endpoint (adds debug, at performance cost)
# - debugenv: enables /debug/pprof endpoint if DEBUG=1 env during runtime (adds debug, at performance cost)
+# - wasmsqlite3: uses SQLite through WASM instead of the C-to-Go transpilation (experimental)
log_exec env CGO_ENABLED=0 go build -trimpath -v \
-tags "${GO_BUILDTAGS}" \
-ldflags="${GO_LDFLAGS}" \