Skip to content

Build rustfmt for wasm32-unknown-unknown #4845

Closed
@thomaseizinger

Description

@thomaseizinger

Recently, rustfmt changed from depending on rustc-ap-* crates to depend on the rustc-dev component instead. I assume this makes rustfmt development a lot easier because you no longer need to sync crate versions with the nightly compiler you are using.

Unfortunately though, rustc-dev is not available for wasm: https://rust-lang.github.io/rustup-components-history/wasm32-unknown-unknown.html
I've never heard of rustc-dev before but the rustup documentation states that it is the entire compiler as a library: https://rust-lang.github.io/rustup/concepts/components.html

I am not sure where to ask for this but is there any chance rustc-dev will be available for the wasm32-unknown-unknown target so that rustfmt can be compiled to wasm again?

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