Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ios, tvos and visionos #84

Open
mxinden opened this issue Jan 30, 2025 · 0 comments
Open

Support ios, tvos and visionos #84

mxinden opened this issue Jan 30, 2025 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mxinden
Copy link
Collaborator

mxinden commented Jan 30, 2025

iOS does not ship with <net/route.h>, see #82.

#83 dropped support for the Apple OS variants, see e.g. code below:

mtu/build.rs

Lines 47 to 52 in 8329753

// Platforms currently not supported.
//
// See <https://github.com/mozilla/mtu/issues/82>.
if matches!(target_os.as_str(), "ios" | "tvos" | "visionos") {
return;
}

mtu/src/lib.rs

Lines 101 to 107 in 8329753

// Platforms currently not supported.
//
// See <https://github.com/mozilla/mtu/issues/82>.
#[cfg(any(target_os = "ios", target_os = "tvos", target_os = "visionos"))]
pub fn interface_and_mtu_impl(remote: IpAddr) -> Result<(String, usize)> {
return Err(default_err());
}

We should add support for target_os ios, tvos and visionos in the future.

@mxinden mxinden added the help wanted Extra attention is needed label Jan 30, 2025
@larseggert larseggert added the enhancement New feature or request label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants