Skip to content

Add a mechanism for libcore to export privates to libstd only. #3144

Closed
@bblum

Description

@bblum

There are already several things either (a) in libcore that should be in libstd or (b) inappropriately exported from libcore.

A mechanism for std to be a "friend" of core would solve both of these without making libcore grow tremendously large. I'm not sure how crate metadata works, but I could imagine writing export mod in a crate file would export the module publically, while all other modules do get exported, only privately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binaries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions