Open Caue-Aron opened 2 years ago
typing rustup target add gnu
gives me this:
C:\Users\cauea\OneDrive\Área de Trabalho\RustTests>rustup target add gnu _error: toolchain 'stable-x8664-pc-windows-gnu' does not contain component 'rust-std' for target 'gnu' note: not all platforms have the standard library pre-compiled: https://doc.rust-lang.org/nightly/rustc/platform-support.html
When installing GTK4 for my windows to develop with Rust, I ran into this error when executing rustup toolchain install stable-gnu:
error: DEPRECATED: future versions of rustup will require --force-non-host to install a non-host toolchain as the default. warning: toolchain 'stable-gnu' may not be able to run on this system. warning: If you meant to build software to target that platform, perhaps try
rustup target add gnu
instead? _info: syncing channel updates for 'stable-x8664-pc-windows-gnu'_stable-x8664-pc-windows-gnu unchanged - rustc 1.59.0 (9d1b2106e 2022-02-23)
info: checking for self-updates
I saw that an error like that was already reported, but the solution given to the error was sort of "blank" (they were using words that only Rust developers understand), so I couldn't solve it my self. I'm really noob on Rust, I'm just checking in if the language is good for my next project, and it envolves GUI.