From e19792d961b4e2fa41d083251f6814ca61cd0e61 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Thu, 29 May 2025 17:52:55 -0700 Subject: [PATCH] Explain the new `check-cfg` lint --- app-proto/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-proto/Cargo.toml b/app-proto/Cargo.toml index 5d97193..9b46b2b 100644 --- a/app-proto/Cargo.toml +++ b/app-proto/Cargo.toml @@ -46,6 +46,10 @@ features = [ dyna3 = { path = ".", default-features = false, features = ["dev"] } 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] unexpected_cfgs = { level = "warn", check-cfg = ["cfg(sycamore_force_ssr)"] }