Skip to content

Pass --compile-time-deps when building proc macros depending on rust toolchain version #35

@ethowitz

Description

@ethowitz

On Rust toolchain versions > 1.89.0, cargo build supports an unstable --compile-time-deps flag that will only build proc macros and run build scripts. This is exactly the behavior we want (and this is what rust-analyzer uses). We should check the rust toolchain version and include this flag if it is > 1.89.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions