Skip to content

Commit 86d837d

Browse files
committed
Only expose GatedReader for tests in bevy_asset.
1 parent b79b813 commit 86d837d

File tree

1 file changed

+3
-1
lines changed
  • crates/bevy_asset/src/io

1 file changed

+3
-1
lines changed

crates/bevy_asset/src/io/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ pub mod android;
1010
pub mod embedded;
1111
#[cfg(not(target_arch = "wasm32"))]
1212
pub mod file;
13-
pub mod gated;
1413
pub mod memory;
1514
pub mod processor_gated;
1615
#[cfg(target_arch = "wasm32")]
1716
pub mod wasm;
1817

18+
#[cfg(test)]
19+
pub mod gated;
20+
1921
mod source;
2022

2123
pub use futures_lite::AsyncWriteExt;

0 commit comments

Comments
 (0)