Skip to content

Commit 2e838fd

Browse files
committed
shaders: add lint ignores from rust-gpu
1 parent 6c71b63 commit 2e838fd

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

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

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)