Skip to content

Commit cbd0fe5

Browse files
committed
shaders: add lint ignores from rust-gpu
1 parent 625e378 commit cbd0fe5

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
@@ -168,6 +168,9 @@ rfd = "0.15.4"
168168
spirv-std = { git = "https://github.com/rust-gpu/rust-gpu", rev = "3f05f5482824e3b1fbb44c9ef90a8795a0204c7c" }
169169
cargo-gpu = { git = "https://github.com/rust-gpu/cargo-gpu", rev = "e8ba9a0421c27a715277da116a6f2d59cdd3266d" }
170170

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

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)