Skip to content

Crate attribute to use a custom prelude when using no_std #743

Closed
@thepowersgang

Description

@thepowersgang

For example: #![prelude="core::prelude"] to use the core's prelude, or #[prelude="my_prelude::v1"] to use a custom prelude.

This would probably load in the same way as the usual prelude (a non-exporting glob import into all sub-modules)

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