Auto merge of #12038 - ehuss:beta-Win32_System_Console, r=weihanglo

[beta-1.70] backport add the Win32_System_Console feature

This is a beta backport of #12016 which is required to build the cargo library on Windows.

This also includes #12011 to get CI passing.
This commit is contained in:
bors 2023-04-25 19:46:25 +00:00
commit ec8a8a0cab
2 changed files with 2 additions and 1 deletions

View File

@ -90,6 +90,7 @@ version = "0.45"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_Console",
"Win32_System_IO",
"Win32_System_Threading",
"Win32_System_JobObjects",

View File

@ -944,7 +944,7 @@ pub fn foo<T, U>() {}
use updated_crate::foo;
fn main() {
foo::<u8>(); // Error: this function takes 2 generic arguments but 1 generic argument was supplied
foo::<u8>(); // Error: function takes 2 generic arguments but 1 generic argument was supplied
}
```