Skip to content

Commit 7d42bba

Browse files
committed
shaders: add lint ignores from rust-gpu
1 parent c54e305 commit 7d42bba

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ tracing = "0.1.41"
167167
spirv-std = { git = "https://github.com/rust-gpu/rust-gpu", rev = "3f05f5482824e3b1fbb44c9ef90a8795a0204c7c" }
168168
cargo-gpu = { git = "https://github.com/rust-gpu/cargo-gpu", rev = "e8ba9a0421c27a715277da116a6f2d59cdd3266d" }
169169

170+
[workspace.lints.rust]
171+
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] }
172+
170173
[profile.dev]
171174
opt-level = 1
172175

node-graph/graster-nodes/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ license = "MIT OR Apache-2.0"
99
[lib]
1010
crate-type = ["rlib", "dylib"]
1111

12+
[lints]
13+
workspace = true
14+
1215
[features]
1316
default = ["std"]
1417
std = [

0 commit comments

Comments
 (0)