Skip to content

feat: add support for --enable-new-dtags and --disable-new-dtags #19042

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

Closed

Conversation

dmeijboom
Copy link
Contributor

Fixes #18249

We're trying to use https://github.com/uber/hermetic_cc_toolchain as our C++ toolchain when building Rust applications. However, it seems like Rust uses the --enable-new-dtags linker flag which isn't supported by zig.

I have no clue how to test these changes and I have no experience with Zig but with some feedback I'm sure we can get this wrapped up eventually.

@andrewrk andrewrk requested a review from kubkon March 6, 2024 20:30
@andrewrk andrewrk enabled auto-merge (squash) March 6, 2024 20:35
@andrewrk andrewrk disabled auto-merge March 6, 2024 20:35
Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through the trouble to rebase this on your behalf and I resolved the conflicts, however you have unchecked the "allow maintainers to push changes to this branch". So I'll close this PR and open a new one.

@jimkring
Copy link

jimkring commented Mar 6, 2024

Thanks @dmeijboom -- this fixes an issue affecting me, too.
Thanks @andrewrk for the extra attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unsupported linker arg: --enable-new-dtags
4 participants