Cannot Build a cdylib
pyknite opened this issue · comments
Rinaldini Julien commented
Hi,
I followed the readme and tried to build a cdylib
by adding crate-type = ["cdylib"]
in my .toml
When I run the following command:
cargo +ios-arm64-1.57.0 build --target aarch64-apple-ios --release --lib
I get the following error:
error: cannot produce cdylib for `rustylib v0.1.0 (path_to_project/rust)` as the target `aarch64-apple-ios` does not support these crate types
Am I missing something?
Thx for your help!
Cheers
Rinaldini Julien commented
Hi,
My bad, this is a project for bitcode generation, not building dylib :( I posted this at the wrong place :(
You can ignore this issue