Skip to content

unsupported linker arg: --enable-new-dtags #18249

@scalpel4k

Description

@scalpel4k

Zig Version

0.12.0-dev.1807+d27002011

Steps to Reproduce and Observed Behavior

Since version 1.74 rustc now adds -Wl,--enable-new-dtags when it thinks ld is used for linking c libraries.

this has been added with this MR: rust-lang/rust#30394

I tried this doing cargo install cargo-workspaces for instance.

Expected Behavior

....

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.linkingzig ccZig as a drop-in C compiler feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions