summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-04 17:40:01 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-04 20:29:36 +0100
commit2f91ac81a856d9cc10b22899d58707a98dae0d92 (patch)
treef57ef026d6541c2c2389e6cddda99c6d271b403e
parenta876ef3313b02a3aa1c9fcf31fda751b15a51393 (diff)
downloadnixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.tar
nixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.tar.gz
nixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.tar.bz2
nixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.tar.lz
nixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.tar.xz
nixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.tar.zst
nixpkgs-2f91ac81a856d9cc10b22899d58707a98dae0d92.zip
wasilibc: Disable bulk memory operations
Firefox's vendored wasm2c version does not supported those yet.

via https://bugzilla.mozilla.org/show_bug.cgi?id=1773200#c4
and https://hg.mozilla.org/mozilla-central/rev/d190451aa436
-rw-r--r--pkgs/development/libraries/wasilibc/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/wasilibc/default.nix b/pkgs/development/libraries/wasilibc/default.nix
index 9308e0a0106..09c3d0d95f7 100644
--- a/pkgs/development/libraries/wasilibc/default.nix
+++ b/pkgs/development/libraries/wasilibc/default.nix
@@ -38,7 +38,10 @@ stdenv.mkDerivation {
       "SYSROOT_LIB:=$SYSROOT_LIB"
       "SYSROOT_INC:=$SYSROOT_INC"
       "SYSROOT_SHARE:=$SYSROOT_SHARE"
+      # https://bugzilla.mozilla.org/show_bug.cgi?id=1773200
+      "BULK_MEMORY_SOURCES:="
     )
+
   '';
 
   enableParallelBuilding = true;