aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--shell.nix2
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 <nixpkgs> {} }:
-pkgs.mkShellNoCC {
+pkgs.mkShell {
packages = with pkgs; [
rustc
clang # yes, it's necessary or ‘cc’ can't be found. -bjc 2025-aug-7