Open sturmenta opened 4 weeks ago
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.
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.
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 ✅)cargo build --target aarch64-apple-ios
(this doesn't work ❌)cargo build --target aarch64-apple-ios-sim
(this doesn't work ❌)Expected Results
Actually create a build
Actual Results
Many errors for "unknown directive"
https://github.com/bytecodealliance/wasmtime/assets/30802967/40a481f7-ad32-47c6-912e-0baea31a7163
Versions and Environment
Wasmtime version: 21.0.1 Wasmtime commit: 23409ca7e184ef3b7d42fe17938caed470643d5d
Operating system: macOS Sonoma 14.5 (23F79)
Architecture: Apple M1