Skip to content

Commit 6aa3d32

Browse files
committed
shaders: add lint ignores from rust-gpu
1 parent d5e0ec7 commit 6aa3d32

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
@@ -182,6 +182,9 @@ poly-cool = "0.2.0"
182182
spirv-std = { git = "https://github.com/rust-gpu/rust-gpu", rev = "3f05f5482824e3b1fbb44c9ef90a8795a0204c7c" }
183183
cargo-gpu = { git = "https://github.com/rust-gpu/cargo-gpu", rev = "e8ba9a0421c27a715277da116a6f2d59cdd3266d" }
184184

185+
[workspace.lints.rust]
186+
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] }
187+
185188
[profile.dev]
186189
opt-level = 1
187190

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)