diff options
| author | Chris Copeland <chris@chrisnc.net> | 2022-02-19 12:08:06 -0800 |
|---|---|---|
| committer | Chris Copeland <chris@chrisnc.net> | 2022-02-20 21:27:36 -0800 |
| commit | f2ebd0a11fd7ed131d669fcac20fa3b8df642f39 (patch) | |
| tree | ebae699d6a95c18f45dd8e0cb2f8e22bb736390e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3eb983ed9916147ad4f2d93679cbff5276ca87ca (diff) | |
| download | rust-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
