Stream: git-wasmtime

Topic: wasmtime / issue #8735 wasmtime-fiber do not build for ta...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2024 at 21:37):

sturmenta added the bug label to Issue #8735.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2024 at 21:37):

sturmenta opened issue #8735:

Steps to Reproduce

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: 23409ca7e184ef3b7d42fe17938caed470643d5d

Operating system: macOS Sonoma 14.5 (23F79)

Architecture: Apple M1

view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2024 at 21:41):

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 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

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: 23409ca7e184ef3b7d42fe17938caed470643d5d

Operating system: macOS Sonoma 14.5 (23F79)

Architecture: Apple M1

view this post on Zulip Wasmtime GitHub notifications bot (Jun 02 2024 at 21:42):

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 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

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: 23409ca7e184ef3b7d42fe17938caed470643d5d

Operating system: macOS Sonoma 14.5 (23F79)

Architecture: Apple M1

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2024 at 13:50):

alexcrichton removed the bug label from Issue #8735.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2024 at 13:50):

alexcrichton added the wasmtime:platform-support label to Issue #8735.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 03 2024 at 13:52):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 05 2024 at 23:34):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 06 2024 at 00:08):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 07 2024 at 22:48):

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