We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7be3d6 commit 48adbb8Copy full SHA for 48adbb8
wallet-unit-poc/ecdsa-spartan2/.cargo/config.toml
@@ -0,0 +1,8 @@
1
+[target.x86_64-unknown-linux-gnu]
2
+# Workaround for __rust_probestack linking issue with wasmer on Linux
3
+# Use gcc as linker with the BFD linker instead of LLD
4
+linker = "gcc"
5
+rustflags = [
6
+ "-C", "link-arg=-fuse-ld=bfd",
7
+]
8
+
wallet-unit-poc/ecdsa-spartan2/Cargo.toml
@@ -18,4 +18,7 @@ bincode = "1.3.3"
18
memmap2 = "0.9.8"
19
20
[profile.release]
21
-debug = true
+debug = true
22
+opt-level = 2
23
+lto = false
24
+codegen-units = 16
0 commit comments