Skip to content

deps: bump netdev to 0.47 - #263

Open
Frando wants to merge 1 commit into
mainfrom
deps/netdev047
Open

Frando wants to merge 1 commit into
mainfrom
deps/netdev047

Conversation

@Frando

@Frando Frando commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Description

Updates netdev to 0.47, which unblocks #255 through the newly added illumos support in netdev.

Change checklist

  • Self-review.
  • Documentation updates following the [style guide], if relevant.
  • Tests if relevant.
  • All API changes documented.
  • cargo make passes locally.

@github-actions

Copy link
Copy Markdown

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/net-tools/pr/263/docs/net_tools/

Last updated: 2026-10-27T11:12:36Z

@n0bot n0bot Bot added this to iroh Oct 27, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Oct 27, 2026
John-Giskhan pushed a commit to John-Giskhan/net-tools that referenced this pull request Nov 10, 2026
…mputer#267)

## Description

Fixes n0-computer#261.

libc 0.2.190 dropped the `net/route.h` constants (`RTM_*`, `RTA_*`,
`RTAX_*`, `RTF_*`) on non-macOS Apple targets (rust-lang/libc#5158), so
netwatch no longer builds for `aarch64-apple-ios`. This defines them in
`interfaces/bsd/macos.rs`, the same way the FreeBSD/NetBSD/OpenBSD
backends already do, and adds a macOS-only test that checks them against
libc.

Also bumps netdev to 0.47 and libc to 0.2.191 in the lockfile. The
lockfile was still on 0.2.189, which is why CI didn't catch this. This
overlaps with the netdev bump in n0-computer#263.

## Notes & open questions

Tested with `cargo check -p netwatch --target aarch64-apple-ios
--all-features` (fails with 22 errors before this change, passes after)
and `cargo test -p netwatch --all-features` on macOS (arm64).

There's no iOS build in CI, so this could break again. Happy to add a
build-only iOS job like the Android one if you want it here or in a
follow-up.

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style guide], if relevant.
- [x] Tests if relevant.
- [x] All API changes documented.
- [ ] `cargo make` passes locally.

[style guide]:
https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚑 Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant