about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2022-07-20 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2022-07-20 08:00:53 +0200
commit1e832266def75c3d813af39c67367ff31c7a2410 (patch)
tree9a5395687332ebb21e8ade08860d3f03c236a1dc
parentf426146460c5446bb41ac0b677bbfe5b6ff502ba (diff)
downloadrust-1e832266def75c3d813af39c67367ff31c7a2410.tar.gz
rust-1e832266def75c3d813af39c67367ff31c7a2410.zip
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.
-rw-r--r--src/test/ui/process/nofile-limit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/process/nofile-limit.rs b/src/test/ui/process/nofile-limit.rs
index 549135a46cf..3ddf8d6ef24 100644
--- a/src/test/ui/process/nofile-limit.rs
+++ b/src/test/ui/process/nofile-limit.rs
@@ -6,7 +6,7 @@
 // dont-check-compiler-stderr
 // only-linux
 // no-prefer-dynamic
-// compile-flags: -Ctarget-feature=+crt-static -Crpath=no
+// compile-flags: -Ctarget-feature=+crt-static -Crpath=no -Crelocation-model=static
 #![feature(exit_status_error)]
 #![feature(rustc_private)]
 extern crate libc;