msrd0 / rlottie-rs

Rust bindings to rlottie and file conversion library and tools
MIT License
17 stars 4 forks source link

Compatibility with rustup's musl toolchain #21

Open msrd0 opened 2 years ago

msrd0 commented 2 years ago

Currently, rlottie-sys will always load libclang.so at build time which is unsupported by rustup's static musl toolchain. To fix this, we need to detect a static-only toolchain and disable the runtime feature of clang/bindgen.

However, this is not currently supported by cargo: https://github.com/rust-lang/cargo/issues/1197

See also #17