Skip to content

Commit 1e83226

Browse files
committed
Use non-relocatable code in nofile-limit.rs test
To avoid using static-pie which is not essential to the test but which was reported to cause problems on Void Linux where glibc is build without support for static-pie.
1 parent f426146 commit 1e83226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/process/nofile-limit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// dont-check-compiler-stderr
77
// only-linux
88
// no-prefer-dynamic
9-
// compile-flags: -Ctarget-feature=+crt-static -Crpath=no
9+
// compile-flags: -Ctarget-feature=+crt-static -Crpath=no -Crelocation-model=static
1010
#![feature(exit_status_error)]
1111
#![feature(rustc_private)]
1212
extern crate libc;

0 commit comments

Comments
 (0)