Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Consider making a new minor (or major release) with only_hack_old_rustc on by default #70

@Aaron1011

Description

@Aaron1011

Currently, only_hack_old_rustc must be manually enabled at the definition site. However, any crates that add a dependency on proc-macro-hack (because they want to support older versions of rustc) probably want this option on by default, as it avoids lots of unnecessary expansion and span modification when possible.

I think it would be useful to have a new minor (or major) release that enables only_hack_old_rustc by default. In addition to giving new consumers what they most likely want, it will help to nudge existing consumers to the new behavior. If any crates need the specific hygiene behavior introduced by this crate, we could have a never_hack_old_rustc option to restore the current default behavior.

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