Skip to content

JSON output for Rust libtest require nightly since 1.70 #250

Open
@kazk

Description

@kazk

Supporting 1.70 requires extra work/research because -Zunstable-options --format json we've been using to get JSON output is no longer accepted on stable release.

I won't use the nightly because the maintenance cost on each version bump will increase (nightly features will be used and will break). A workaround mentioned is to set RUSTC_BOOTSTRAP=1 environment variable, but that's basically the same as using nightly.

--format json won't be stabilized anytime soon.

Options

  1. Use a different test runner with a machine readable output.
  2. Parse the text output. We used to do this long time ago.
  3. Support Rust 1.69 and wait for a bit.
  4. Use nightly, but make it behave like stable by disabling all unstable features? (-Zallow-features= (allow nothing))

Please comment if you have other ideas.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions