Unverified Commit 60ea78d3 authored by Michael Müller's avatar Michael Müller
Browse files

More debugging

parent b7ded0ce
Pipeline #151012 passed with stages
in 2 minutes and 42 seconds
......@@ -201,10 +201,11 @@ fn exec_cargo_for_wasm_target(
// Currently will override user defined RUSTFLAGS from .cargo/config. See https://github.com/paritytech/cargo-contract/issues/98.
std::env::set_var(
"RUSTFLAGS",
"-C link-arg=-zstack-size=65536 -C link-arg=--import-memory",
//#[cfg(not(windows))]
//"-C link-arg=-z -C link-arg=stack-size=65536 -C link-arg=--import-memory",
//#[cfg(windows)]
"-C link-args=--import-memory,-zstack-size=65536",
//"-C link-args=--import-memory,-zstack-size=65536",
);
let cargo_build = |manifest_path: &ManifestPath| {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment