File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -1324,17 +1324,12 @@ impl Xtasks {
1324
1324
) -> Result < Output > {
1325
1325
log:: info!( "Profiling enabled: {profile}" ) ;
1326
1326
1327
- let mut features = vec ! [
1328
- Feature :: Lua54 ,
1329
- Feature :: Rhai ,
1330
- Feature :: CoreFunctions ,
1331
- Feature :: BevyBindings ,
1332
- ] ;
1327
+ let mut features = Features :: default ( ) ;
1333
1328
1334
1329
if profile {
1335
1330
std:: env:: set_var ( "ENABLE_PROFILING" , "1" ) ;
1336
1331
// features.push(Feature::BevyTracy);
1337
- features. push ( Feature :: ProfileWithTracy ) ;
1332
+ features. 0 . insert ( Feature :: ProfileWithTracy ) ;
1338
1333
} else {
1339
1334
std:: env:: set_var ( "RUST_LOG" , "bevy_mod_scripting=error" ) ;
1340
1335
}
@@ -1347,7 +1342,7 @@ impl Xtasks {
1347
1342
1348
1343
let output = Self :: run_workspace_command (
1349
1344
// run with just lua54
1350
- & app_settings. with_features ( Features :: new ( features) ) ,
1345
+ & app_settings. with_features ( features) ,
1351
1346
"bench" ,
1352
1347
"Failed to run benchmarks" ,
1353
1348
args,
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ pub use bevy_mod_scripting_functions::*;
28
28
29
29
plugin_group ! {
30
30
pub struct BMSPlugin {
31
- : CoreScriptGlobalsPlugin ,
32
31
: ScriptFunctionsPlugin ,
33
32
: CoreScriptGlobalsPlugin ,
34
33
: BMSScriptingInfrastructurePlugin ,
You can’t perform that action at this time.
0 commit comments