Skip to content

Commit bfed2d6

Browse files
committed
Expect published_docs cfg also in godot-bindings crate
1 parent 83bcc6d commit bfed2d6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

godot-bindings/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ features = ["experimental-godot-api"]
5656
rustdoc-args = ["--cfg", "published_docs"]
5757
rustc-args = ["--cfg", "published_docs"]
5858

59-
# Currently causes "unused manifest key" warnings. Maybe re-enable in the future, to make `published_docs` known.
60-
#[lints.rust]
61-
#unexpected_cfgs = { level = "warn", check-cfg = ['cfg(published_docs)'] }
59+
# Enabled only for godot-bindings; the others have it set via build.rs.
60+
# Necessary to avoid warnings in release workflow.
61+
[lints.rust]
62+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(published_docs)'] }

0 commit comments

Comments
 (0)