Skip to content

Conversation

kpreid
Copy link
Collaborator

@kpreid kpreid commented Jul 10, 2025

Connections
Fixes #7917.

This change should be backported to v26.

Description
Without this change, desired_adapter_name is an undeclared variable.

Testing
Tested with cargo check -p wgpu --no-default-features --features webgl --target wasm32-unknown-unknown

Squash or Rebase?
N/A

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.

Without this change, `desired_adapter_name` is an undeclared variable.
@kpreid kpreid requested a review from a team as a code owner July 10, 2025 17:13
@kpreid
Copy link
Collaborator Author

kpreid commented Jul 10, 2025

This should probably have a changelog entry but it’ll be guaranteed to conflict with #7916 so I'm waiting for that.

@cwfitzgerald
Copy link
Member

I can handle the changelog when I backport, no worries.

@cwfitzgerald cwfitzgerald merged commit b83c9cf into gfx-rs:trunk Jul 10, 2025
40 checks passed
@kpreid kpreid deleted the no-std-init branch July 10, 2025 19:08
@cwfitzgerald
Copy link
Member

Backported in v26.0.1

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.

Build failure new in v26 with default-features = false
2 participants