-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add tracing
support to rustc_codegen_spirv
#192
Labels
enhancement
New feature or request
Comments
For posterity that page mentions that the official compiler includes tracing for info:
|
Looks like we can reuse rustc's version, but again we hit the only info is supported. Rustdoc deals with this by using both: I am investigating this solution. |
LegNeato
added a commit
to LegNeato/rust-gpu
that referenced
this issue
Jan 2, 2025
LegNeato
added a commit
to LegNeato/rust-gpu
that referenced
this issue
Jan 2, 2025
LegNeato
added a commit
to LegNeato/rust-gpu
that referenced
this issue
Jan 2, 2025
LegNeato
added a commit
to LegNeato/rust-gpu
that referenced
this issue
Jan 3, 2025
LegNeato
added a commit
to LegNeato/rust-gpu
that referenced
this issue
Jan 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When working on or debugging the rust-gpu compiler backend, it is extremely hard to see what is going on. Ideally we have
tracing
support so that we can put logs and spans in to see what the compiler is doing (behind a feature).rustc
already has support: https://rustc-dev-guide.rust-lang.org/tracing.htmlOne complication is that
rustc_codegen_spirv
is used as a dylib and I don't believe tracing works in that situation. I found https://github.com/JakkuSakura/tracing-shared-rs, but it doesn't look great.The text was updated successfully, but these errors were encountered: