Skip to content

Consider replacing autocfg with explicit version detection? #200

@Kixunil

Description

@Kixunil

I get the appeal of autocfg and I would've liked it. Sadly it takes 20+ seconds to compile and many crates depend on this "small and fundamental crate" which leads to prolonging the build quite a lot.

I don't believe it'll ever happen that an older version of Rust will suddenly accept something it didn't accept previously (end definitely not vice-versa - that'd be a bug), so there's no reason to fear "static" version checking. It's just a developer convenience.

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