-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__tracy_gpu_new_context_data has private field making it unconstructable #39
Comments
It seems to be caused by this line Line 37 in 03bd339
generated.rs ) is for removing pub from generated type aliases.
|
A simple fix might be to switch to:
|
Yeah, the sed post-processing here is to avoid re-exporting
and similar. Happy to take a patch here. |
This was referenced May 25, 2022
Closed
nagisa
pushed a commit
that referenced
this issue
Aug 13, 2023
Depends on #39 Context Wumpf/wgpu-profiler#15 This adds the GPU api to tracy_client. It merely adds safe interfaces.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oddly it seems to have a completely private field which we need to fill to be able to call the function. I'm not sure what caused bindgen to emit this one field as private.
https://docs.rs/tracy-client-sys/latest/tracy_client_sys/struct.___tracy_gpu_new_context_data.html
The text was updated successfully, but these errors were encountered: