From 1eedad18506384b12509c7039a2709d039c92760 Mon Sep 17 00:00:00 2001 From: brian cully Date: Wed, 31 Dec 2025 20:54:53 -0500 Subject: turn on wasm simd --- Makefile | 2 +- shell.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 712b55c..efc344b 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ WASMPACKFLAGS=--no-pack --no-typescript # the --target is currently necessary or firefox will return # "disallowed mime type" -bjc 7-aug-2025 rust: - wasm-pack build --target web --out-dir $(BUILDDIR)/rust $(WASMPACKFLAGS) -- --color always + wasm-pack build --target web --out-dir $(BUILDDIR)/rust $(WASMPACKFLAGS) -- --color always --config build.rustflags="'-C target-feature=+simd128'" test: cargo test --color always -- --nocapture diff --git a/shell.nix b/shell.nix index 3d960fa..172a6b0 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,6 @@ { pkgs ? import {} }: -pkgs.mkShellNoCC { +pkgs.mkShell { packages = with pkgs; [ rustc clang # yes, it's necessary or ‘cc’ can't be found. -bjc 2025-aug-7 -- cgit v1.3