Skip to content

Commit

Permalink
Merge pull request #6042 from jecaro/fix-zig_host_app-test-on-nixos
Browse files Browse the repository at this point in the history
Fix zig_host_app on NixOS
  • Loading branch information
Anton-4 authored Nov 21, 2023
2 parents 2afd9ca + d21ea2e commit 1f0f25f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions crates/linker/src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1832,14 +1832,7 @@ mod tests {
// we need to compile the app first
let output = std::process::Command::new(&zig)
.current_dir(dir)
.args([
"build-obj",
"app.zig",
"-fPIC",
"-target",
"x86_64-linux-gnu",
"-OReleaseFast",
])
.args(["build-obj", "app.zig", "-fPIC", "-OReleaseFast"])
.output()
.unwrap();

Expand Down Expand Up @@ -1878,8 +1871,6 @@ mod tests {
"host.zig",
"-fPIE",
"-lc",
"-target",
"x86_64-linux-gnu",
"-OReleaseFast",
])
.output()
Expand Down

0 comments on commit 1f0f25f

Please sign in to comment.