Skip to content

Use compiler flags instead of feature for nightly features #7

@ranile

Description

@ranile

See yewstack/yew#2754 for rationale. Tokio also uses the same approach with tokio_unstable feature

This will allow downstream users, who use cfg for nightly features, to enable nightly features of proc-macro-error2) by using build.rs to set the flag). It's currently impossible to do this: yewstack/yew#3752

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions