features icon indicating copy to clipboard operation
features copied to clipboard

[Rust] Update devcontainer-feature.json to include rust versions until 1.79

Open anoopknayak opened this issue 7 months ago • 0 comments

I was getting errors when trying to build a devcontainer in my project as one of the dependencies require rustc == 1.79. More details below:

18.03 error: failed to compile `cargo-binstall v1.7.4`, intermediate artifacts can be found at `/tmp/cargo-installZIsWeo`.
18.03 To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
18.03 
18.03 Caused by:
18.03   package `cargo-binstall v1.7.4` cannot be built because it requires rustc 1.79.0 or newer, while the currently active rustc version is 1.74.0
18.03   Try re-running cargo install with `--locked`

Ran devcontainer features test -f rust and all tests passed:

  ================== TEST REPORT ==================
✅ Passed:      'rust'
✅ Passed:      'rust_at_pinned_version'
✅ Passed:      'rust_with_target'

I'm hoping see if this would resolve it as I'd be able to pin rust version 1.79 after this change.

anoopknayak avatar Jul 14 '24 22:07 anoopknayak