-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustc fails to raise rlimits for stacksize on mac for doctest runs through make #52801
Labels
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
It seems that make has a higher ulimit for the stack for some reason:
|
nagisa
added
the
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
label
Jul 28, 2018
Seems to be another regression similar to #52577. |
Is the failure perhaps because make has already raised the ulimit higher, so our attempts to "raise it" are actually trying to decrease it? Should we just check the current value before invoking |
nikomatsakis
added
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
P-medium
Medium priority
labels
Aug 9, 2018
Compiler-team meeting: Marking as P-medium for now. |
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Aug 11, 2018
Make sure rlimit is only ever increased `libc::setrlimit` will fail if we try to set the rlimit to a value lower than it is currently, so make sure we're never trying to do this. Fixes rust-lang#52801.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Aug 13, 2018
Make sure rlimit is only ever increased `libc::setrlimit` will fail if we try to set the rlimit to a value lower than it is currently, so make sure we're never trying to do this. Fixes rust-lang#52801.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Aug 14, 2018
Make sure rlimit is only ever increased `libc::setrlimit` will fail if we try to set the rlimit to a value lower than it is currently, so make sure we're never trying to do this. Fixes rust-lang#52801.
bors bot
added a commit
to gfx-rs/gfx
that referenced
this issue
Sep 5, 2018
2379: fix metal build r=grovesNL a=stuartcarnie Fixes metal compilation issue: metallib: Invalid bitcode file! PR checklist: - [ ] `make` succeeds (on *nix) - a few failures due to rust-lang/rust#52801 - [x] `make reftests` succeeds - [x] tested examples with the following backends: **metal** - [x] `rustfmt` run on changed code Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I get rlimit errors when running
cargo test
on a mac through make:If run without make it works. Seems to be this call that is failing:
rust/src/librustc_driver/lib.rs
Lines 1523 to 1528 in 4f1e235
Repro case is just an empty library with a single doctest:
And then this makefile:
Test runs:
Versions:
The text was updated successfully, but these errors were encountered: