Skip to content

dynamic_linking causes linker stderr #17544

Closed
@lomirus

Description

@lomirus

Bevy version

0.15.1

Relevant system information

cargo 1.86.0-nightly (cecde95c1 2025-01-24)
macOS 15.2 (Apple M1 Pro)

What you did

[dependencies]
bevy = { version = "0.15.1", features = ["dynamic_linking"] }

What went wrong

$ cargo build
warning: linker stderr: ld: ignoring duplicate libraries: '-lSystem', '-lc', '-lobjc'
  |
  = note: `#[warn(linker_messages)]` on by default

warning: `bevy-3dfv-demo` (bin "bevy-3dfv-demo") generated 1 warning
    Finished `dev` profile [optimized + debuginfo] target(s) in 0.18s

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions