![]() # Objective - Enabling the `debug_asset_server` feature doesn't compile when using it with `load_internal_binary_asset!()`. The issue is because it assumes the loader takes an `&'static str` as a parameter, but binary assets loader expect `&'static [u8]`. ## Solution - Add a generic type for the loader and use a different type in `load_internal_asset` and `load_internal_binary_asset` |
||
---|---|---|
.. | ||
diagnostic | ||
io | ||
asset_server.rs | ||
assets.rs | ||
debug_asset_server.rs | ||
filesystem_watcher.rs | ||
handle.rs | ||
info.rs | ||
lib.rs | ||
loader.rs | ||
path.rs | ||
reflect.rs |