Explain the new check-cfg
lint
This commit is contained in:
parent
0cfdd59e23
commit
e19792d961
1 changed files with 4 additions and 0 deletions
|
@ -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)"] }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue