Skip to content

[RFC] recommend rust-lld as the default linker #39

Closed
@japaric

Description

@japaric

once the unstable flag -Z linker-flavor is not required

Advantages:

  • No need to install arm-none-eabi-gcc to build binaries.

Disadvantages:

  • Linking to system C libraries (e.g. newlib) requires passing the library search path, which varies per build system, to the linker. If you want to do this it's actually easier to use gcc.

cc @rust-embedded/cortex-m

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions