enable simd128

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-04-13 18:50:29 -04:00
parent 33d31e03b0
commit 72d6eda7de
8 changed files with 143 additions and 73 deletions

View File

@@ -1,7 +1,9 @@
NODE_MODULES = node_modules
VERSION := $(shell cat ./VERSION)
.PHONY: build assets deps lint prebaked-build test
export RUSTFLAGS=-Ctarget-feature=+simd128
.PHONY: build assets deps lint prebaked-build test wasm
assets:
npm run assets
@@ -24,4 +26,8 @@ prebaked-build:
go build -o ./var/anubis -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/anubis
test:
npm run test
npm run test
wasm:
cargo build --release --target wasm32-unknown-unknown
cp -vf ./target/wasm32-unknown-unknown/release/*.wasm ./web/static/wasm