Skip to content

Expose the Error type for WGSL frontend #7855

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

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Conversation

aryaveersr
Copy link

@aryaveersr aryaveersr commented Jun 27, 2025

Description
This makes the Error type returned by the WGSL frontend public. Previously, it directly returned the error as a string + spans, which is great for cli output but not much else.

Squash or Rebase?

Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
    • This seems to modify every .toml file, even ones that I haven't touched. Is this intended ?
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@aryaveersr aryaveersr marked this pull request as ready for review June 27, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants