File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
bevy_mod_scripting_core/src/bindings/function Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ impl DynamicScriptFunction {
9999 args : I ,
100100 context : FunctionCallContext ,
101101 ) -> Result < ScriptValue , InteropError > {
102- profiling:: scope!( "Dynamic Call " , self . name( ) ) ;
102+ profiling:: scope!( "Dynamic Call " , self . name( ) . to_string ( ) ) ;
103103 let args = args. into_iter ( ) . collect :: < VecDeque < _ > > ( ) ;
104104 // should we be inlining call errors into the return value?
105105 let return_val = ( self . func ) ( context, args) ;
@@ -155,7 +155,7 @@ impl DynamicScriptFunctionMut {
155155 args : I ,
156156 context : FunctionCallContext ,
157157 ) -> Result < ScriptValue , InteropError > {
158- profiling:: scope!( "Dynamic Call Mut" , self . name( ) ) ;
158+ profiling:: scope!( "Dynamic Call Mut" , self . name( ) . to_string ( ) ) ;
159159 let args = args. into_iter ( ) . collect :: < VecDeque < _ > > ( ) ;
160160 // should we be inlining call errors into the return value?
161161 let mut write = self . func . write ( ) ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ enum Feature {
5151 // Rune,
5252
5353 // Profiling
54- #[ strum( serialize = "profiling/profile-with-tracy " ) ]
54+ #[ strum( serialize = "bevy/trace_tracy " ) ]
5555 Tracy ,
5656}
5757
You can’t perform that action at this time.
0 commit comments