sturmenta added the bug label to Issue #8735.
sturmenta opened issue #8735:
Steps to Reproduce
(from a mac with M1) inside wasmtime/crates/fiber run:
cargo build --target aarch64-apple-darwin
(this works :check:)
cargo build --target aarch64-apple-ios
(this doesn't work :cross_mark:)
cargo build --target aarch64-apple-ios-sim
(this doesn't work :cross_mark:)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 | ^
https://github.com/bytecodealliance/wasmtime/assets/30802967/40a481f7-ad32-47c6-912e-0baea31a7163
Versions and Environment
Wasmtime version: 21.0.1
Wasmtime commit: 23409ca7e184ef3b7d42fe17938caed470643d5dOperating system: macOS Sonoma 14.5 (23F79)
Architecture: Apple M1
sturmenta edited issue #8735:
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 likewasmtime-fiber
doesn't support to build for the targetsaarch64-apple-ios
neitheraarch64-apple-ios-sim
, there is something I can do it differently? Thanks, Im just starting with rustSteps to Reproduce
(from a mac with M1) inside wasmtime/crates/fiber run:
cargo build --target aarch64-apple-darwin
(this works :check:)
cargo build --target aarch64-apple-ios
(this doesn't work :cross_mark:)
cargo build --target aarch64-apple-ios-sim
(this doesn't work :cross_mark:)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 | ^
https://github.com/bytecodealliance/wasmtime/assets/30802967/40a481f7-ad32-47c6-912e-0baea31a7163
Versions and Environment
Wasmtime version: 21.0.1
Wasmtime commit: 23409ca7e184ef3b7d42fe17938caed470643d5dOperating system: macOS Sonoma 14.5 (23F79)
Architecture: Apple M1
sturmenta edited issue #8735:
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 likewasmtime-fiber
doesn't support to build for the targetsaarch64-apple-ios
neitheraarch64-apple-ios-sim
, there is something I can do it differently? Thanks, Im just starting with rustSteps to Reproduce
(from a mac with M1) inside
wasmtime/crates/fiber
run:
cargo build --target aarch64-apple-darwin
(this works :check:)
cargo build --target aarch64-apple-ios
(this doesn't work :cross_mark:)
cargo build --target aarch64-apple-ios-sim
(this doesn't work :cross_mark:)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 | ^
https://github.com/bytecodealliance/wasmtime/assets/30802967/40a481f7-ad32-47c6-912e-0baea31a7163
Versions and Environment
Wasmtime version: 21.0.1
Wasmtime commit: 23409ca7e184ef3b7d42fe17938caed470643d5dOperating system: macOS Sonoma 14.5 (23F79)
Architecture: Apple M1
alexcrichton removed the bug label from Issue #8735.
alexcrichton added the wasmtime:platform-support label to Issue #8735.
alexcrichton commented on issue #8735:
Thanks for the report! Wasmtime doesn't yet support iOS which is why you're getting this build error. If you're interested it might not be too too much work to dust off https://github.com/bytecodealliance/wasmtime/pull/7506 to get things compiling at least. You can also find some historical discussion of this at https://github.com/bytecodealliance/wasmtime/issues/5754 and https://github.com/bytecodealliance/wasmtime/issues/3867. Wasmtime's currently platform support is documented here.
sturmenta commented on issue #8735:
Thank you very much Alex for your answer!
Ok I will do my research and see how I can continue, again thank you very much for showing me possible ways forward.
sturmenta edited a comment on issue #8735:
Thank you very much Alex for your answer!
Ok I will do my research and see how I can continue, thank you for showing me possible ways forward.
turbolent commented on issue #8735:
#7506 seems to work fine: https://github.com/bytecodealliance/wasmtime/pull/7506#issuecomment-2336472557
It would be great to get an up-to-date patch merged. I'm happy to open a PR (or update the existing one)
Last updated: Nov 22 2024 at 16:03 UTC