Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

[features] Should the default be checked or unchecked? #223

@Lokathor

Description

@Lokathor

So, we have to fix up the stable feature into being an unstable feature, so that the create builds properly on stable with "no default features" enabled like people expect a crate to do.

There's also a "checked" feature that's not currently on by default. I guess we've been doing unchecked operations basically this whole time.

Question: Should the base form be to have checked or unchecked operation?

Keeping in mind that whichever we want to be the "no features" version doesn't have to be the feature set used by compiler-builtins, should we swap it around so that all operations are checked when there's no features at all, and then it's the feature flag that enables unchecked opearations?

cc @alexcrichton , @gnzlbg , @ anyone else who has a strong opinion

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions