Skip to content

Commit

Permalink
Rollup merge of rust-lang#99494 - tmiasko:no-pie, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JohnTitor authored Jul 25, 2022
2 parents e726af8 + 1e83226 commit 65d2392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/process/nofile-limit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 65d2392

Please sign in to comment.