mirror of
https://github.com/enso-org/enso.git
synced 2024-11-30 14:14:12 +03:00
349cc210e0
Bump rustc nightly-2022-08-30 and fix new errors and lints. https://www.pivotaltracker.com/story/show/184229094
18 lines
520 B
TOML
18 lines
520 B
TOML
[build]
|
|
target-dir = "target/rust/"
|
|
rustflags = ["--cfg", "tokio_unstable"]
|
|
|
|
[target.wasm32-unknown-unknown]
|
|
rustflags = [
|
|
# Increas the stack size from 1MB to 2MB. This is required to avoid running out of stack space
|
|
# in debug builds. The error is reported as `RuntimeError: memory access out of bounds`.
|
|
"-C",
|
|
"link-args=-z stack-size=2097152",
|
|
]
|
|
|
|
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "link-arg=/STACK:2097152"]
|
|
|
|
[target.x86_64-pc-windows-gnu]
|
|
rustflags = ["-C", "link-arg=-Wl,--stack,2097152"]
|