Explain the new check-cfg lint

This commit is contained in:
Aaron Fenyes 2025-05-29 17:52:55 -07:00
parent 0cfdd59e23
commit e19792d961

View file

@ -46,6 +46,10 @@ features = [
dyna3 = { path = ".", default-features = false, features = ["dev"] } dyna3 = { path = ".", default-features = false, features = ["dev"] }
wasm-bindgen-test = "0.3.34" wasm-bindgen-test = "0.3.34"
# turn off spurious warnings about the custom config that Sycamore uses
#
# https://sycamore.dev/book/troubleshooting#unexpected-cfg-condition-name--sycamore-force-ssr
#
[lints.rust] [lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(sycamore_force_ssr)"] } unexpected_cfgs = { level = "warn", check-cfg = ["cfg(sycamore_force_ssr)"] }