You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, When trying to install a MSVC toolchain using Rustup under wine (x64 and x86 rustup versions for windows affected) it fails with this error:
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to 'C:\users\lorenzo\.rustup\tmp\scoucda6ta418hod_file': failed to make network request: error sending request for url (https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256): operation timed out: operation timed out
I did see this error seems to happen also on different platforms, but it's consistent on Wine. It's possible that it's not a specific wine deficiency, but worse performance under wine (socket performances are not on par with windows, expecially asyncronous and non blocking ones) are making the problem manifest.
I can download toolchains from the native linux rustup, however it's easier to be able to manage the msvc rust toolchain inside the Wine Prefix where Visual Studio 2019 and the C++ Build tools are installed
RUSTUP_USE_CURL=1 is a workaround, and allow rustup to properly download
Thanks for the attention
Steps
export WINEPREFIX="(PAth for VS wine prefix)"
wine rustup-init.exe
Press enter and wait
Possible Solution(s)
RUSTUP_USE_CURL=1 is a workaround
Notes
Wine, Wine-Staging and Wine-TKG affected. Problem existed in wine 7.x
Rustup version
1.26.0 (but this problem existed in all previous version for some years)
Installed toolchains
None
The text was updated successfully, but these errors were encountered:
Problem
Hi, When trying to install a MSVC toolchain using Rustup under wine (x64 and x86 rustup versions for windows affected) it fails with this error:
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to 'C:\users\lorenzo\.rustup\tmp\scoucda6ta418hod_file': failed to make network request: error sending request for url (https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256): operation timed out: operation timed out
I did see this error seems to happen also on different platforms, but it's consistent on Wine. It's possible that it's not a specific wine deficiency, but worse performance under wine (socket performances are not on par with windows, expecially asyncronous and non blocking ones) are making the problem manifest.
I can download toolchains from the native linux rustup, however it's easier to be able to manage the msvc rust toolchain inside the Wine Prefix where Visual Studio 2019 and the C++ Build tools are installed
RUSTUP_USE_CURL=1 is a workaround, and allow rustup to properly download
Thanks for the attention
Steps
Possible Solution(s)
RUSTUP_USE_CURL=1 is a workaround
Notes
Wine, Wine-Staging and Wine-TKG affected. Problem existed in wine 7.x
Rustup version
1.26.0 (but this problem existed in all previous version for some years)
Installed toolchains
None
The text was updated successfully, but these errors were encountered: