Skip to content

Add proper support for rustfix runs #282

Open
@pietroalbini

Description

@pietroalbini

As far as I understood, we want to execute Crater runs between a nightly and the same nightly with rustfix and the edition enabled, as part of the Rust 2018 preparation. Is this right?

We can surely do this in an hackish way (by doing a quick and dirty patch on the runner), but we should also add proper support for the long term (as we did with NLL runs). My implementation plan:

  • Refactor the log handling to combine multiple tasks in the same log
    • Ideally I'd like to run rustfix as a separate task in the dependency graph, to avoid duplicating all the modes with $mode+rustfix -- this way the first toolchain works the same as before, but the second toolchain also depends on a "rustfix" task
  • Refactor the toml frobber and the directory structure to support a different Cargo.toml and source directory for each toolchain
  • Add a rustfix task and implement support for it like NLL runs

Unfortunately properly implementing this is going to take time, and I probably won't have time to do everything before the second edition preview (we could as always implement a quick one-time patch and apply it on one of the runners, executing it manually).

cc @Mark-Simulacrum @Centril @aturon

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-new-featureCategory: a new feature to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions