Skip to content

Commit 743d7c6

Browse files
PeaBraneclaude
andcommitted
fix CI: declare profile feature in check-cfg for newer Rust
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4f916ad commit 743d7c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spin-sim/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ categories = ["science", "simulation"]
1212
[features]
1313
profile = []
1414

15+
[lints.rust]
16+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("profile"))'] }
17+
1518
[dependencies]
1619
rand = "0.8"
1720
rand_xoshiro = "0.6"

0 commit comments

Comments
 (0)