Skip to content

Commit

Permalink
fix(rust): update max-memory link-arg
Browse files Browse the repository at this point in the history
  • Loading branch information
FaberVitale committed Sep 11, 2021
1 parent a1cb02c commit 3fc080c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/assets/templates/rust/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rustflags = [
# Import memory from WASM-4
"-C", "link-arg=--import-memory",
"-C", "link-arg=--initial-memory=65536",
"-C", "link-arg=--max-memory=65536",
"-C", "link-arg=--max-memory=131072",

# Reserve 1024 bytes of stack space, offset from 6580
"-C", "link-arg=-zstack-size=7584",
Expand Down

0 comments on commit 3fc080c

Please sign in to comment.