about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-22 09:15:42 +0200
committerGitHub <noreply@github.com>2023-10-22 09:15:42 +0200
commit4d80740c1dcc079e9a95f9b4aedf05dee3dfb605 (patch)
treedba3126822527e8c82be93c9a7e7a80df282f561 /compiler/rustc_codegen_llvm/src
parent56b9f0327fd89dbb73b885c5fdad580ca2c8da43 (diff)
parent46f68ccb8b88c77edc5ed3d5d5cfb6189910af37 (diff)
downloadrust-4d80740c1dcc079e9a95f9b4aedf05dee3dfb605.tar.gz
rust-4d80740c1dcc079e9a95f9b4aedf05dee3dfb605.zip
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`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions