-
Notifications
You must be signed in to change notification settings - Fork 923
Open
Description
Describe the bug
Building a rust binary that depends on Wasmer v5 with the wamr feature enabled targeting iOS fails with this error in the linking step:
error: linking with `cc` failed: exit status: 1
|
= note: env -u MACOSX_DEPLOYMENT_TARGET LC_ALL="C" PATH="/Users/guillem
...
...
...
= note: ld: library 'vmlib' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Steps to reproduce
- Create a new rust binary.
- Add Wasmer as a dependency in Cargo.toml like this:
wasmer = {version = "5", default-features = false, features = ["wamr"]} - Run
cargo build --target aarch64-apple-ios.
Here is a link to a minimal reproduction: https://github.com/guillemcordoba/vmlib-issue-reproduction/actions/runs/12844217193/job/35816976026#step:5:452
Expected behavior
A binary can be built for iOS with the wamr engine.
Actual behavior
Compilation fails.
Additional context
I'm running macOS Sonoma 14.6.1.
Metadata
Metadata
Assignees
Labels
No labels