Skip to content

Commit 21fc66d

Browse files
committed
Simplify Zig paths in sandbox for cross-compilation environment variables CC and CXX.
1 parent 40a29b0 commit 21fc66d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/sandbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def main() -> int:
5050
target = "s390x-linux-gnu"
5151
additional_arguments = [
5252
f"--volume={os.getcwd()}/bin/zig-0.15.1:/mnt",
53-
f"--env=CC=/mnt/zig-0.15.1/zig cc -target {target}",
54-
f"--env=CXX=/mnt/zig-0.15.1/zig c++ -target {target}",
53+
f"--env=CC=/mnt/zig cc -target {target}",
54+
f"--env=CXX=/mnt/zig c++ -target {target}",
5555
f"--unsetenv=CC",
5656
f"--unsetenv=CXX",
5757
tmpdir,

0 commit comments

Comments
 (0)