Skip to content

pub extern crate foo; doesn't work #21757

Closed
@bvssvni

Description

@bvssvni
pub extern crate foo;

vs

extern crate "foo" as foo_lib;
pub use foo_lib as foo;

The second version works with piston but the first one doesn't. Tested by overriding dependency locally with the image example in Piston.

cc @eddyb @Kimundi

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-resolveArea: Name/path resolution done by `rustc_resolve` specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions