rlottie-rs icon indicating copy to clipboard operation
rlottie-rs copied to clipboard

Compatibility with rustup's musl toolchain

Open msrd0 opened this issue 2 years ago • 0 comments

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

msrd0 avatar Sep 23 '22 13:09 msrd0