Skip to content

Add --extern foo=path command line flag #14469

Closed
@brson

Description

@brson

cc #14468

Add a command line flag to let tools like cargo specify exactly which library to use for an extern crate statement.

It looks like --extern foo=path, where "foo" is the name of a crate, and path is the path of a rust library, without the extension (so it will look for both .rlib and .dylib).

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