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 {
99
99
args : I ,
100
100
context : FunctionCallContext ,
101
101
) -> Result < ScriptValue , InteropError > {
102
- profiling:: scope!( "Dynamic Call " , self . name( ) ) ;
102
+ profiling:: scope!( "Dynamic Call " , self . name( ) . to_string ( ) ) ;
103
103
let args = args. into_iter ( ) . collect :: < VecDeque < _ > > ( ) ;
104
104
// should we be inlining call errors into the return value?
105
105
let return_val = ( self . func ) ( context, args) ;
@@ -155,7 +155,7 @@ impl DynamicScriptFunctionMut {
155
155
args : I ,
156
156
context : FunctionCallContext ,
157
157
) -> Result < ScriptValue , InteropError > {
158
- profiling:: scope!( "Dynamic Call Mut" , self . name( ) ) ;
158
+ profiling:: scope!( "Dynamic Call Mut" , self . name( ) . to_string ( ) ) ;
159
159
let args = args. into_iter ( ) . collect :: < VecDeque < _ > > ( ) ;
160
160
// should we be inlining call errors into the return value?
161
161
let mut write = self . func . write ( ) ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ enum Feature {
51
51
// Rune,
52
52
53
53
// Profiling
54
- #[ strum( serialize = "profiling/profile-with-tracy " ) ]
54
+ #[ strum( serialize = "bevy/trace_tracy " ) ]
55
55
Tracy ,
56
56
}
57
57
You can’t perform that action at this time.
0 commit comments