HomeFreeBSD

lang/rust: Fix docs building.

Description

lang/rust: Fix docs building.

Add the missing "pub struct sockcred2" in module "libc".
Error:
error[E0412]: cannot find type sockcred2 in module libc

--> library/std/src/os/unix/net/ancillary.rs:211:29
 |

211 | pub struct SocketCred(libc::sockcred2);

|                             ^^^^^^^^^ not found in `libc`

Reported by: kib
Differential Revision: https://reviews.freebsd.org/D40509

Details

Provenance
Mikael Urankar <mikael@FreeBSD.org>Authored on Jun 20 2023, 10:26 AM
Differential Revision
D40509: lang/rust: Fix docs building.
Parents
R11:c073e72f5f7c: lang/rust: Garbage collect shebangfix
Branches
Unknown
Tags
Unknown

Event Timeline

Mikael Urankar <mikael@FreeBSD.org> committed R11:d3462f66cf68: lang/rust: Fix docs building. (authored by Mikael Urankar <mikael@FreeBSD.org>).Jun 20 2023, 10:29 AM