We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 146264c commit 4af204dCopy full SHA for 4af204d
src/etc/check-sanitycheck.py
@@ -39,9 +39,11 @@ def inner():
39
def check_rlimit_core():
40
soft, hard = resource.getrlimit(resource.RLIMIT_CORE)
41
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"))
+ error_unless_permitted('ALLOW_NONZERO_RLIMIT_CORE', """\
+RLIMIT_CORE is set to a nonzero value (%d). During debuginfo, the test suite
+will segfault many rustc's, creating many potentially large core files.
45
+set ALLOW_NONZERO_RLIMIT_CORE to ignore this warning
46
+""" % (soft))
47
48
49
def main():
0 commit comments