Skip to content

unsupported linker arg: --allow-multiple-definitionย #21455

Open
@kassane

Description

@kassane

Zig Version

0.13.0

Steps to Reproduce and Observed Behavior

error: unsupported linker arg: --allow-multiple-definition

Compiler returned: 1

How to Reproduce?

URL: https://c.godbolt.org/z/rz1GjvYMY

Add on zig cc/zig c++ -Wl,--allow-multiple-definition.

Note: zig ld.lld --help | grep allow, list this flag!

Expected Behavior

Works, similar to clang/gcc.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions