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

[illumos] enable guess_os_stack_limit #88

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Jul 31, 2024

Uses the same logic as FreeBSD and DragonflyBSD.

Requires the latest version of libc, which has rust-lang/libc#3788 included.

I've verified locally on an illumos machine that stacker is able to:

  • find the right stack size, and
  • create new stack segments when running low.

@sunshowers sunshowers marked this pull request as draft July 31, 2024 23:31
@sunshowers
Copy link
Contributor Author

Hmm, there are a number of CI failures but I don't think any of them are related to this change.

@nagisa
Copy link
Member

nagisa commented Aug 5, 2024

Yeah, the failures are usually unrelated -- the pace of this code is low enough that ecosystem changes break our CI pretty much every time a PR is submitted.

Uses the same logic as FreeBSD and DragonflyBSD.

This does require a version of libc with
rust-lang/libc#3788 included. Hopefully that goes out
soon. For now I'm putting up this PR as a thing to point to.

I've verified locally on an illumos machine that stacker is able to:

* find the right stack size, and
* create new stack segments.
@sunshowers sunshowers marked this pull request as ready for review August 16, 2024 06:31
@sunshowers
Copy link
Contributor Author

sunshowers commented Aug 16, 2024

All right, libc 0.2.156 is out so this is now ready.

@nagisa nagisa merged commit 8e925da into rust-lang:master Aug 21, 2024
118 of 167 checks passed
@nagisa
Copy link
Member

nagisa commented Aug 21, 2024

Thanks!

@sunshowers sunshowers deleted the illumos branch August 21, 2024 19:59
@nagisa
Copy link
Member

nagisa commented Aug 21, 2024

I'll cut a release shortly (after I hack on the CI stuff,) do note that you'll need to submit a PR to rustc that updates the dependency after as well, as those don't get updated automatically.

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.

2 participants