I am trying to compile x64 on Windows with Rust.
I have set: rustup default stable-x86_64-pc-windows-msvc
With the following program
fn main() { println!("{}", std::usize::MAX); }
cargo run prints out 4294967295
but cargo run --target --target x86_64-pc-windows-msvc gives me:
error[E0463]: can't find crate for 'std'
|
= note: the 'x86_64-pc-windows-msvc' target may not be installed
Also x86_64-pc-windows-msvc is in rustc --print target-list
I have no idea what to do...