bevy/crates/bevy_asset/src/io
bjorn3 6a4051be3a Make some asset loading functions monomorphic (#1861)
This reduces the size of executables when using bevy as dylib by
ensuring that they get codegened in bevy_assets instead of the game
itself. This by extension avoids pulling in parts of bevy_tasks and
async_task.

Before this change the breakout example was 923k big after this change
it is only 775k big for cg_clif. For cg_llvm in release mode breakout
shrinks from 356k to 316k. For cg_llvm in debug mode breakout shrinks
from 3814k to 3057k.
2021-04-10 16:17:32 +00:00
..
android_asset_io.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
file_asset_io.rs Make some asset loading functions monomorphic (#1861) 2021-04-10 16:17:32 +00:00
mod.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00
wasm_asset_io.rs Bevy ECS V2 (#1525) 2021-03-05 07:54:35 +00:00