Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] - Stack overflow when installing Sui binaries on windows #3147

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

patrickkuo
Copy link
Contributor

@patrickkuo patrickkuo commented Jul 12, 2022

This PR fixes stack overflow issue when installing Sui on windows.

Prior to this PR, we fixed the SO issue by adding rustflags = [ "-C", "link-args=/STACK:64000000" ] to .cargo/config file, this works if we are using cargo build with local repo, however it won't work for installation from git cargo install --git.

@patrickkuo patrickkuo requested review from bmwill, tnowacki and awelc July 12, 2022 12:37
@patrickkuo patrickkuo force-pushed the pat/stack_fix_for_windows branch from 8dacbe0 to bf15d60 Compare July 12, 2022 12:38
@patrickkuo patrickkuo changed the title [bugfix] - Stack overflow when installing Sui binaries in windows [bugfix] - Stack overflow when installing Sui binaries on windows Jul 12, 2022
Copy link
Contributor

@awelc awelc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bmwill bmwill merged commit 79eed14 into main Jul 12, 2022
@bmwill bmwill deleted the pat/stack_fix_for_windows branch July 12, 2022 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants