Skip to content

net: use null get_peer_cred on Hurd#7989

Merged
Darksonn merged 1 commit intotokio-rs:masterfrom
pinotree:hurd-get_peer_cred-null
Mar 27, 2026
Merged

net: use null get_peer_cred on Hurd#7989
Darksonn merged 1 commit intotokio-rs:masterfrom
pinotree:hurd-get_peer_cred-null

Conversation

@pinotree
Copy link
Copy Markdown
Contributor

Motivation

Make tokio more usable on GNU/Hurd. Currently, users of tokio may fail to build because get_peer_cred() is not implemented.

Solution

Due to the lack of (non-portable) APIs for this task (which makes it not possible to use any of the existing implementations), for now use the the null/empty get_peer_cred() implementation.

None of the other implementations/APIs is supported on the Hurd,
so for now use the null/empty get_peer_cred implementation.
@mattiapitossi mattiapitossi added A-tokio Area: The main tokio crate M-net Module: tokio/net labels Mar 27, 2026
Copy link
Copy Markdown
Member

@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@Darksonn Darksonn merged commit ee4de81 into tokio-rs:master Mar 27, 2026
101 checks passed
@pinotree pinotree deleted the hurd-get_peer_cred-null branch March 27, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tokio Area: The main tokio crate M-net Module: tokio/net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants