Skip to content
This repository was archived by the owner on Dec 29, 2021. It is now read-only.
This repository was archived by the owner on Dec 29, 2021. It is now read-only.

What's the minimum rustc version supported? #78

@behnam

Description

@behnam

With rust-1.17.0 or rust-1.18.0, I'm get this error on build time:

error: use of unstable library feature 'command_envs' (see issue #38526)
   --> /Users/behnam/.cargo/registry/src/github.com-1ecc6299db9ec823/assert_cli-0.5.4/src/assert.rs:303:14
    |
303 |             .envs(self.env.clone().compile())
    |              ^^^^

It's fine on stable channel, which is at rust-1.21.0 right now. So, the minimum version supported in larger that 1.18.0, less than or equal to 1.21.0.

Looking at the .travis.yml file here, I noticed there's no minimum rustc version being maintained.

Could you please indicate what's the minimum rustc version supported by assert_cli?

FYI, if supporting versions a few months old is not a goal here, I will have to to gate my cli test behind a feature, which would make my CI script more complicated.

So, any chance we can have some versions older than stable also supported?


  • assert_cli version: v0.5.4
  • Rust version: 1.17.0
  • OS and version: Darwin Marv.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

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