mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
[hal] Replace cargo-clippy feature with lint configuration.
This commit is contained in:
parent
a6f70c7f35
commit
98c345800a
@ -85,6 +85,7 @@ SamplerDescriptor {
|
||||
- Reject fragment shader output `location`s > `max_color_attachments` limit. By @ErichDonGubler in [#8316](https://github.com/gfx-rs/wgpu/pull/8316).
|
||||
- WebGPU device requests now support the required limits `maxColorAttachments` and `maxColorAttachmentBytesPerSample`. By @evilpie in [#8328](https://github.com/gfx-rs/wgpu/pull/8328)
|
||||
- Reject binding indices that exceed `wgpu_types::Limits::max_bindings_per_bind_group` when deriving a bind group layout for a pipeline. By @jimblandy in [#8325](https://github.com/gfx-rs/wgpu/pull/8325).
|
||||
- Removed three features from `wgpu-hal` which did nothing useful: `"cargo-clippy"`, `"gpu-allocator"`, and `"rustc-hash"`. By @kpreid in [#8357](https://github.com/gfx-rs/wgpu/pull/8357).
|
||||
|
||||
#### DX12
|
||||
|
||||
|
||||
@ -36,7 +36,8 @@ ignored = ["cfg_aliases"]
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
'cfg(web_sys_unstable_apis)', # web-sys uses this
|
||||
'cfg(feature, values("cargo-clippy"))', # objc's `msg_send` macro injects this in our code https://github.com/SSheldon/rust-objc/issues/125
|
||||
'cfg(web_sys_unstable_apis)', # web-sys uses this
|
||||
] }
|
||||
|
||||
[lib]
|
||||
@ -182,14 +183,6 @@ internal_error_panic = []
|
||||
# Tracks validation errors in a `VALIDATION_CANARY` static.
|
||||
validation_canary = ["dep:parking_lot"]
|
||||
|
||||
###################
|
||||
### Workarounds ###
|
||||
###################
|
||||
|
||||
# objc's `msg_send` macro injects this in our code https://github.com/SSheldon/rust-objc/issues/125
|
||||
# You shouldn't ever enable this feature.
|
||||
cargo-clippy = []
|
||||
|
||||
[[example]]
|
||||
name = "halmark"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user