Fix build error in egui-winit with profiling enabled#7557
Conversation
|
Preview available at https://egui-pr-preview.github.io/pr/7557-fix-profiling-build-error |
|
We should make sure this is caught by CI 🤔 |
|
I fail to reproduce the problem locally - what command are you running to get a build error? |
|
For example, |
|
The point is to get the |
|
But the problem doesn't repo in the |
An example at the latter link conincidentally even has a |
|
It just happens to work with While for the |
Something would have to enable the |
|
I see - thanks for explaining it |
Fixes #7555.
Verified by patching
ruffleto use a checked outeguirepo with this change, and runningcargo run --release --features=tracyin it.I hesitated between
&and.as_str()- if you'd prefer the latter, let me know.