Skip to content

Disabling of -Zunstable-options --pretty=expanded breaks cbindgen #43697

Closed
@jrmuizel

Description

@jrmuizel

cbindgen needs to parse macro expanded rust code in order to generate C/C++ bindings. The removal of --pretty=expanded breaks this. What's the suggested path forward here? Not having this forces binding generation to be done with a nightly tool chain and the results checked in to the tree instead of being done at build time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-prettyArea: Pretty printing (including `-Z unpretty`)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions