Skip to content

Commit ac9c294

Browse files
committed
Prefer 32-bit arithmetic on wasm32-wasi
Seems to be at least relevant for RSA See WebAssembly/tool-conventions#223 (comment)
1 parent 7d89277 commit ac9c294

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

patches/wasi-config.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ index 46094f59..c3db2695 100644
1313
+ cflags => add("--target=wasm32-wasi"),
1414
+ cxxflags => add("--target=wasm32-wasi"),
1515
+ lib_cppflags => add("-DL_ENDIAN"),
16-
+ bn_ops => "SIXTY_FOUR_BITS",
16+
+ bn_ops => "THIRTY_TWO_BIT",
1717
+ },
1818
+
1919
##### VxWorks for various targets

precompiled/lib/libcrypto.a

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)