Closed
Description
Code
Running cargo build --target x86_64-uwp-windows-msvc -Z build-std
yields:
error[E0432]: unresolved import `SetThreadStackGuarantee`
--> /home/travis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/windows/c.rs:1038:12
|
1038 | pub fn SetThreadStackGuarantee(_size: *mut c_ulong) -> BOOL {
| ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SetThreadStackGuarantee`
error: aborting due to previous error
error: could not compile `std`
Version it worked on
This works in July 27 rustc nightly.
Version with regression
It's broken in the Oct 6 rustc nightly, but possibly earlier.