Skip to content

Consider building rust with Cargo #16091

Closed
@alexcrichton

Description

@alexcrichton

In #2237 it was resolved to rewrite the build system in Rust, but that never ended up happening. It was later decided that we should build Rust with rustpkg, but that also ended up not happening. As a natural continuation of said issue we should consider building Rust with Cargo.

There are certainly some difficulties in doing this, some of which I can think of are:

  • If cargo isn't built as part of the build process, changing the meaning of CLI flags may be tricky (over time)
  • Is cargo's configuration flexible enough to encode the bootstrapping process?
  • Is going through this change worth the effort?

This is most certainly a low priority issue, I believe building servo with Cargo to be a better milestone than building Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions