rust/library/std
Matthias Krüger 4d80740c1d
Rollup merge of #116989 - ChrisDenton:skip-unsupported, r=Mark-Simulacrum
Skip test if Unix sockets are unsupported

Fixes https://github.com/rust-lang/rust/pull/116683#issuecomment-1772314187

The test will be skipped if `AF_UNIX` is not supported. In that case [`WSASocketW` returns `WSAEAFNOSUPPORT`](https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-wsasocketw#return-value).

It will never skip the test when run in CI but maybe this is me being too defensive since the error code is narrowly scoped to just the af family parameter being unsupported?

Also fixed a minor typo.

r? `@Mark-Simulacrum`
2023-10-22 09:15:42 +02:00
..
benches
src Rollup merge of #116989 - ChrisDenton:skip-unsupported, r=Mark-Simulacrum 2023-10-22 09:15:42 +02:00
tests Add data race test to std::env::{get, set} 2023-08-20 21:50:45 +02:00
build.rs changes from feedback 2023-10-20 23:55:14 +01:00
Cargo.toml Auto merge of #116527 - sthibaul:libc, r=Mark-Simulacrum 2023-10-15 15:17:17 +00:00