Skip to content

Naming of use_std feature #474

Closed
Closed
@dtolnay

Description

@dtolnay
Member

The C-FEATURE guideline discourages calling a Cargo feature "use_std". I would recommend "std" instead.

Activity

BurntSushi

BurntSushi commented on May 2, 2018

@BurntSushi
Member

Funnily enough, I was using std, but switched to use_std just before the release because it's what libc uses.

I think this can be done in a backwards compatible way, but we'd need to keep use_std around. Not sure whether I prefer just use_std or having both...

ethanpailes

ethanpailes commented on May 2, 2018

@ethanpailes
Contributor

Personally I would rather have just one way to do it. Small api surface and all that.

added 2 commits that reference this issue on Sep 2, 2019
697db58
afc1b76
added a commit that references this issue on Mar 12, 2024
da1f5b6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @BurntSushi@dtolnay@ethanpailes

        Issue actions

          Naming of use_std feature · Issue #474 · rust-lang/regex