Open a1phyr opened 1 year ago
Indeed. I came across this issue when trying to get the doc tests passing when the cpal
feature isn't enabled. I ultimately didn't bother fixing it because there were other issues I would have to fix too, and it wasn't worth it. Are you finding this to be an issue outside of running tests?
I came across this issue in the exact same situation. I added "cpal" feature in my dev-dependencies and it worked. It may still be worth fixing, though.
Are you making a library based on Kira?
Yes I was making asset_manager-kira
, an integration with assets_manager
Currently,
<MockBackend as Backend>::Error
is()
so it cannot be converted toBox<dyn std::error::Error>
.Using
std::convert::Infallible
or a standalone type that implementstd::error::Error
would be more convenient.