Skip to content

Commit

Permalink
fix(sandbox, lazy-pages): Increase corosensei precommited stack size …
Browse files Browse the repository at this point in the history
…to 1MiB (windows) (#4457)
  • Loading branch information
ByteNacked authored Jan 21, 2025
1 parent 4602883 commit 25a331d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,6 @@ loom = "0.7.2" # utils/gear-wasmer
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(fuzz)', 'cfg(substrate_runtime)'] }

[profile.dev.package.corosensei]
opt-level = 3

[profile.release]
panic = "unwind"

Expand Down Expand Up @@ -603,3 +600,6 @@ blake3 = { git = "https://github.com/gear-tech/BLAKE3", branch = "clang-cl-cross

# TODO: remove after https://github.com/pepyakin/wabt-rs/pull/84
wabt = { git = "https://github.com/gear-tech/wabt-rs", branch = "al-win-crt" }

# Attempt to fix UB on windows by increasing precommited stack size to 1 MiB, see https://github.com/gear-tech/gear/issues/4341
corosensei = { git = "https://github.com/gear-tech/corosensei", branch = "rmasl-precommit-1mb-stack-on-windows" }

0 comments on commit 25a331d

Please sign in to comment.