Skip to content

Commit e01baf3

Browse files
committed
---
yaml --- r: 195484 b: refs/heads/master c: 4af204d h: refs/heads/master v: v3
1 parent e9447af commit e01baf3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 146264c6ae057d6418b8c1063526183254b245ba
2+
refs/heads/master: 4af204ddee0fbb61eddf9579ede9f0214c942ba0
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b3317d68910900f135f9f38e43a7a699bc736b4a
55
refs/heads/try: 961e0358e1a5c0faaef606e31e9965742c1643bf

trunk/src/etc/check-sanitycheck.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ def inner():
3939
def check_rlimit_core():
4040
soft, hard = resource.getrlimit(resource.RLIMIT_CORE)
4141
if soft > 0:
42-
error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE',
43-
("The rust test suite will segfault many rustc's in the debuginfo phase.\n"
44-
"set ALLOW_NONZERO_ULIMIT to ignore this warning\n"))
42+
error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE', """\
43+
RLIMIT_CORE is set to a nonzero value (%d). During debuginfo, the test suite
44+
will segfault many rustc's, creating many potentially large core files.
45+
set ALLOW_NONZERO_RLIMIT_CORE to ignore this warning
46+
""" % (soft))
4547

4648

4749
def main():

0 commit comments

Comments
 (0)