Skip to content

Regression: x86_64-pc-windows-msvc: can't find crate for std [E0463] #29418

Closed
@briansmith

Description

@briansmith

I have a script that installs Rust on Windows the following way (on Appveyor):

  1. Downloads https://static.rust-lang.org/dist/%RUST_TAR_GZ_BASE%.tar.gz
  2. Extracts the file, leaving the Rust distribution in build/%RUST_TAR_GZ_BASE%
  3. SET PATH=%cd%\build%RUST_TAR_GZ_BASE%\rustc\bin;%cd%\build%RUST_TAR_GZ_BASE%\cargo\bin;%PATH%

Then, I could successfully build with cargo build. This worked fine through rustc 1.5.0-nightly (d3f4978 2015-10-18) / cargo 0.6.0-nightly (1a6d6c4 2015-10-18). However, as of rustc 1.5.0-nightly (7275d3d 2015-10-20) / cargo 0.6.0-nightly (65f50e7 2015-10-19), this has stopped working with the error "can't find crate for std [E0463]"

I think this is likely due to #29009 or related changes. cc @alexcrichton.

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