getditto / rust-bitcode

Rust toolchain for Xcode-compatible iOS bitcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot Build a cdylib

pyknite opened this issue · comments

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

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