Skip to content

Commit

Permalink
Add set_reuseaddr for Hermit shell
Browse files Browse the repository at this point in the history
Was missing, but the code depends on it.
  • Loading branch information
Thomasdezeeuw committed Jun 14, 2024
1 parent 424f7d4 commit c9aee3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/shell/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub(crate) fn listen(_: &net::TcpListener, _: u32) -> io::Result<()> {
os_required!();
}

#[cfg(unix)]
#[cfg(any(unix, target_os = "hermit"))]
pub(crate) fn set_reuseaddr(_: &net::TcpListener, _: bool) -> io::Result<()> {
os_required!();
}
Expand Down

0 comments on commit c9aee3b

Please sign in to comment.