Skip to content

wasmtime-fiber do not build for target aarch64-apple-ios & aarch64-apple-ios-sim #8735

@sturmenta

Description

@sturmenta

Hello, I am trying to create an iOS app with CRUX and I want to use the crate wasmtime, but when I try to build it seems like wasmtime-fiber doesn't support to build for the targets aarch64-apple-ios neither aarch64-apple-ios-sim, there is something I can do it differently? Thanks, Im just starting with rust

Steps to Reproduce

  • (from a mac with M1) inside wasmtime/crates/fiber run:

    1. cargo build --target aarch64-apple-darwin (this works ✅)
    1. cargo build --target aarch64-apple-ios (this doesn't work ❌)
    1. cargo build --target aarch64-apple-ios-sim (this doesn't work ❌)

Expected Results

Actually create a build

Actual Results

Many errors for "unknown directive"

error: unknown directive
  |
note: instantiated into assembly here
 --> <inline asm>:2:1
  |
2 | .hidden wasmtime_fiber_start_22_0_0
  | ^
wasmtime-fiber.mp4

Versions and Environment

Wasmtime version: 21.0.1
Wasmtime commit: 23409ca7e184ef3b7d42fe17938caed470643d5d

Operating system: macOS Sonoma 14.5 (23F79)

Architecture: Apple M1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions