Files
wgpu/wgpu-hal/src
Mads Marquart 949c5af934 [metal] Do not glob-import enum variants
The `metal` crate is currently unsound regarding unknown/future enum
variants, see https://github.com/gfx-rs/metal-rs/issues/209 and
https://github.com/rust-lang/rfcs/pull/3803.

`objc2-metal` fixes this by emitting C enums as a newtype + constants
for each variant, but that prevents us from importing the
variants/constants. So this commit converts to a pattern that works with
that in preparation for the migration.
2025-04-25 10:26:42 -04:00
..