-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zig binaries contain absolute paths #79
Comments
Upstream issue: ziglang/zig#16028 |
As of Zig 0.11.0 debug outputs also contain the output base on Linux. Additionally, the output base is included in release fast and release size mode outputs. Only release small builds did not include it. In other words, the behavior reported in ziglang/zig#16028 for MacOS is now also observed on Linux. |
The corresponding upstream issuse ziglang/zig#16028 was closed as "nofix" because
|
This issue here is about the reproducibility concern of embedding non-deterministic absolute paths in the generated binaries. Closely related is issue #207 about enabling debuggers to find the relevant sources. |
Follow-up issue to #77.
Zig binaries built in debug mode on MacOS will still contain an absolute path to Bazel's output-base directory, even when the Zig library directory is set to a relative path.
To reproduce:
Surrounding hex dump, via
xxd
:The text was updated successfully, but these errors were encountered: