@@ -62,11 +62,11 @@ use bevy_reflect::{FromReflect, GetTypeRegistration, Reflect, TypePath};
6262use bevy_utils:: { tracing:: error, HashSet } ;
6363use std:: { any:: TypeId , sync:: Arc } ;
6464
65- #[ cfg( all( feature = "file_watcher" , not( feature = "multi-threaded " ) ) ) ]
65+ #[ cfg( all( feature = "file_watcher" , not( feature = "multi_threaded " ) ) ) ]
6666compile_error ! (
6767 "The \" file_watcher\" feature for hot reloading requires the \
68- \" multi-threaded \" feature to be functional.\n \
69- Consider either disabling the \" file_watcher\" feature or enabling \" multi-threaded \" "
68+ \" multi_threaded \" feature to be functional.\n \
69+ Consider either disabling the \" file_watcher\" feature or enabling \" multi_threaded \" "
7070) ;
7171
7272/// Provides "asset" loading and processing functionality. An [`Asset`] is a "runtime value" that is loaded from an [`AssetSource`],
@@ -659,8 +659,8 @@ mod tests {
659659 #[ test]
660660 fn load_dependencies ( ) {
661661 // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
662- #[ cfg( not( feature = "multi-threaded " ) ) ]
663- panic ! ( "This test requires the \" multi-threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi-threaded " ) ;
662+ #[ cfg( not( feature = "multi_threaded " ) ) ]
663+ panic ! ( "This test requires the \" multi_threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded " ) ;
664664
665665 let dir = Dir :: default ( ) ;
666666
@@ -980,8 +980,8 @@ mod tests {
980980 #[ test]
981981 fn failure_load_states ( ) {
982982 // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
983- #[ cfg( not( feature = "multi-threaded " ) ) ]
984- panic ! ( "This test requires the \" multi-threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi-threaded " ) ;
983+ #[ cfg( not( feature = "multi_threaded " ) ) ]
984+ panic ! ( "This test requires the \" multi_threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded " ) ;
985985
986986 let dir = Dir :: default ( ) ;
987987
@@ -1145,8 +1145,8 @@ mod tests {
11451145 #[ test]
11461146 fn manual_asset_management ( ) {
11471147 // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1148- #[ cfg( not( feature = "multi-threaded " ) ) ]
1149- panic ! ( "This test requires the \" multi-threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi-threaded " ) ;
1148+ #[ cfg( not( feature = "multi_threaded " ) ) ]
1149+ panic ! ( "This test requires the \" multi_threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded " ) ;
11501150
11511151 let dir = Dir :: default ( ) ;
11521152 let dep_path = "dep.cool.ron" ;
@@ -1246,8 +1246,8 @@ mod tests {
12461246 #[ test]
12471247 fn load_folder ( ) {
12481248 // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1249- #[ cfg( not( feature = "multi-threaded " ) ) ]
1250- panic ! ( "This test requires the \" multi-threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi-threaded " ) ;
1249+ #[ cfg( not( feature = "multi_threaded " ) ) ]
1250+ panic ! ( "This test requires the \" multi_threaded \" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded " ) ;
12511251
12521252 let dir = Dir :: default ( ) ;
12531253
0 commit comments