Skip to content

Move link args from .cargo/config to build.rs #138

Closed
@crawfxrd

Description

@crawfxrd

Move the linker option from .cargo/config.toml to build.rs using the rustc-link-arg-bins directive.

Then users only needs to specific extra-link-arg to rustc, instead of copying the files from this repo to their project.

Ref: rust-lang/cargo#7811
Ref: https://github.com/crawfxrd/gba-dev-rs/commit/db5d897aa8ec23229db6c933bb16fec221b2d199

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions