Skip to content

tokio build broken for aarch64-apple-visionos #6627

@coolbluewater

Description

@coolbluewater

Version
tokio 1.63

Platform
Building for aarch64-apple-visionos
Building on macos (if that helps)

Description
Tokio does not build for the recently added Rust visionos target aarch64-apple-visionos.
Building using

cargo +nightly build --target aarch64-apple-visionos -Zbuild-std

yields this error, and a number of others:

error: unsupported target for `mio::unix::pipe`
  --> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/sys/unix/pipe.rs:75:5
   |
75 |     compile_error!("unsupported target for `mio::unix::pipe`");
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved imports `self::selector::event`, `self::selector::Event`, `self::selector::Events`, `self::selector::Selector`
  --> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/sys/unix/mod.rs:18:37
   |
18 |     pub(crate) use self::selector::{event, Event, Events, Selector};
   |                                     ^^^^^  ^^^^^  ^^^^^^  ^^^^^^^^ no `Selector` in `sys::unix::selector`
   |                                     |      |      |
   |                                     |      |      no `Events` in `sys::unix::selector`
   |                                     |      no `Event` in `sys::unix::selector`
   |                                     no `event` in `sys::unix::selector`
   |

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokioArea: The main tokio crateC-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions