Skip to content

cargo compiling error 122 on windows 7 x64 platform #52377

Closed as not planned
Closed as not planned
@jeppeter

Description

@jeppeter

To whom responsible for this:
I download https://static.rust-lang.org/dist/rust-1.27.1-x86_64-pc-windows-msvc.msi
and install on my windows 7 sp1 x64 , I select insert rust path into PATH environment variable , when i run cargo new hello and cargo build it is error ,(see attachment) the most eror is os error 122 , first i guess ,the compiler is not in the right environment ,but when i run command
rustc main.rs
it compiles ok ,so i am sure that the cargo and rustc not run in proper way ,
and i set the environment variable CARGO_INCREMENTAL=0
this makes ok

could somebody fixup this bug
thank you
best regards
error.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationO-windowsOperating system: WindowsO-windows-7OS: Windows 7 or Windows Server 2008 R2 or etc.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions