-
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
check: Warn users with nonzero RLIMIT_CORE #23678
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
(The harness is a little heavyhanded because it feels like we'll probably end up with more of these sanity checks at some point, I've definitely bumped into stuff at various times that it would be nice to add a check for) |
6ec8336
to
2fc5575
Compare
@bors: r+ |
📌 Commit 2fc5575 has been approved by |
It kind of makes me uncomfortable for the build system to always be accumulating these kinds of things (which are prone to bitrot once everybody's forgotten why they were added). I approved anyway because this kind of polish does have a cumulative effect on people's impressions of Rust. |
Sure. For what little it's worth, I'm very happy to keep working on things like this for the foreseeable future (A little while ago I went through and mostly pep8-ified src/etc/*.py). The sentiment is helpful though, for estimating what's a reasonable inclusion. EDIT: Err, to be clear "working on" == maintaining what's already there, not just piling more ponies into the build system. |
@bors: r- Unfortunately it looks like this doesn't pass our mac bots:
|
To put all the state into this thread so it doesn't get forgotten about, I discussed with alex on irc and:
|
2fc5575
to
86a8118
Compare
86a8118
to
4af204d
Compare
Ok, i believe this to be fixed. Thanks for the help! |
I'm going to set this opt-out environment variable on the bots and then I will r+ this, I hope to get to this soon! |
Rationale for this, is that I lurked `ulimit -c unlimited` into my .profile to debug an unrelated crash, that I kept forgetting to set before hand. I then ran the test suite and discovered that I had 150 gigs of core dumps in `/cores`. Very open to another approach, or to setting the limit to something higher than 0, but I think it would be nice if the build system tried to save you from yourself here.
\o/ thanks! On Tue, Mar 31, 2015 at 2:53 PM, bors notifications@github.com wrote:
|
Rationale for this, is that I lurked
ulimit -c unlimited
into my .profile to debug an unrelated crash, that I kept forgetting to set before hand. I then ran the test suite and discovered that I had 150 gigs of core dumps in/cores
.Very open to another approach, or to setting the limit to something higher than 0, but I think it would be nice if the build system tried to save you from yourself here.