about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorChris Copeland <chris@chrisnc.net>2022-02-19 12:08:06 -0800
committerChris Copeland <chris@chrisnc.net>2022-02-20 21:27:36 -0800
commitf2ebd0a11fd7ed131d669fcac20fa3b8df642f39 (patch)
treeebae699d6a95c18f45dd8e0cb2f8e22bb736390e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3eb983ed9916147ad4f2d93679cbff5276ca87ca (diff)
downloadrust-f2ebd0a11fd7ed131d669fcac20fa3b8df642f39.tar.gz
rust-f2ebd0a11fd7ed131d669fcac20fa3b8df642f39.zip
Remove assertion on output length for `getsockopt`.
POSIX allows `getsockopt` to set `*option_len` to a smaller value if
necessary. Windows will set `*option_len` to 1 for boolean options even
when the caller passes a `BOOL` (`int`) with `*option_len` as 4.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions