Skip to content

Commit 1b6987a

Browse files
committed
shaders: add lint ignores from rust-gpu
1 parent 14a4b55 commit 1b6987a

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

197+
[workspace.lints.rust]
198+
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] }
199+
197200
[profile.dev]
198201
opt-level = 1
199202

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)