Skip to content

Conversation

kpreid
Copy link
Collaborator

@kpreid kpreid commented Oct 20, 2025

Connections
Fixes #8380.

Description
This is two changes in one:

  • Make PollError always implement Error (fixes thiserror should be used unconditionally #8380).
  • Remove the dependency on thiserror, even though we use it elsewhere, because having shorter chains of dependencies is good for build parallelism.

Testing
Reviewed documentation to confirm that the Error implementation is present as it should be.

Squash or Rebase?
Rebase

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • 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.

…onal `impl`.

This is two changes in one:

* Make `PollError` always implement `Error`.
* Remove the dependency on `thiserror`, even though we use it elsewhere,
  because having shorter chains of dependencies is good for build
  parallelism.
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat, thx!

@Wumpf Wumpf merged commit f366e96 into gfx-rs:trunk Oct 20, 2025
41 checks passed
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.

thiserror should be used unconditionally

2 participants