Open ChunMinChang opened 4 years ago
https://github.com/ChunMinChang/cubeb-coreaudio-rs/commit/323550d21b8644731c108fc4e6ac46d514f9c235 could work in Rust Nightly withc_variadic
feature.
Another workaround https://github.com/ChunMinChang/cubeb-coreaudio-rs/commit/9af97621f7af5a90630404fd30d48759761cba08 is using cc
to build a custom log function in C.
Otherwise we need to wait until https://github.com/rust-lang/rust/issues/44930 is fixed.
The
cubeb_log!
won't print anything now. We should have a way to turn on those logs so it can help debugging.