Repository navigation
Conversation
|
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 |
4 of 5 tasks
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates
netdevto0.47, which unblocks #255 through the newly added illumos support in netdev.Change checklist
cargo makepasses locally.