mush42 / sonata

A cross-platform inference engine for neural TTS models.
MIT License
63 stars 14 forks source link

fix: enable default features to bindgen for link libclang on osx #8

Open thewh1teagle opened 1 month ago

thewh1teagle commented 1 month ago

Fixing linking issue on macOS when using with other bindgen crates such as rodio

  --- stderr
  thread 'main' panicked at /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clang-sys-1.7.0/src/lib.rs:1860:1:
  a `libclang` shared library is not loaded on this thread
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
warning: `sonata-piper` (lib) generated 1 warning

Fixed by enable default features of bindgen with sonic-sys