Closed mikexxma closed 2 years ago
this is my version and I have installed “nightly-x86_64-pc-windows-msvc'
\leaf-ffi> rustc --version rustc 1.56.0-nightly (29ef6cf16 2021-08-31) \leaf-ffi> rustup toolchain add nightly info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
Seems like recent changes of libstd broke UWP targets. Before we start to look into it, please try the nightly toolchain on 2021-08-13, which is the one I am using.
rustup toolchain install nightly-2021-08-13
rustup toolchain install nightly-2021-08-13
it works fine thks
Given https://github.com/rust-lang/rust/pull/88587 has been merged and building libstd no longer fails since toolchain nightly-2021-09-24
, I will close this issue. Feel free to open another one in case build fails again.
raw
found for structHandle
in the current scope --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\fs.rs:360:29Handle
::: C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\handle.rs:17:1 | 17 | pub struct Handle(OwnedHandle); | ------------------------------- method
raw
not found for thisraw
found for structHandle
in the current scope --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\fs.rs:388:29Handle
::: C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\handle.rs:17:1 | 17 | pub struct Handle(OwnedHandle); | ------------------------------- method
raw
not found for thisnew
found for structHandle
in the current scope --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\stdio_uwp.rs:28:26Handle
::: C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\handle.rs:17:1 | 17 | pub struct Handle(OwnedHandle); | ------------------------------- function or associated item
new
not found for thiswrite
found for structManuallyDrop<_>
in the current scope --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\stdio_uwp.rs:29:31ManuallyDrop<_>
note:
io::Write
defines an itemwrite
, perhaps you need to implement it --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\io\mod.rs:1368:1 | 1368 | pub trait Write { | ^^^^^^^^^^^^^^^new
found for structHandle
in the current scope --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\stdio_uwp.rs:41:30Handle
::: C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\handle.rs:17:1 | 17 | pub struct Handle(OwnedHandle); | ------------------------------- function or associated item
new
not found for thisread
found for structManuallyDrop<_>
in the current scope --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys\windows\stdio_uwp.rs:42:35ManuallyDrop<_>
note:
io::Read
defines an itemread
, perhaps you need to implement it --> C:\Users\zenlayer.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\io\mod.rs:520:1 | 520 | pub trait Read { | ^^^^^^^^^^^^^^For more information about this error, try
rustc --explain E0599
. error: could not compilestd
due to 6 previous errors