Skip to content

Commit

Permalink
wrong understanding of lints, set to warn
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Aug 1, 2024
1 parent 2ce1651 commit dc93406
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ resolver = "2"
getrandom = { git = "https://github.com/madsim-rs/getrandom.git", rev = "6c9d9e9" }

[workspace.lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(madsim)'] }
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(madsim)',
'cfg(tokio_unstable)',
] }
2 changes: 1 addition & 1 deletion madsim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ default = ["macros", "rpc"]
ucx = ["async-ucx"]
rpc = ["bincode"]
macros = ["madsim-macros", "tokio/macros"]
# erpc = ["rpc"] # "mad_rpc"
erpc = ["rpc"] # "mad_rpc"

[dependencies]
bincode = { version = "1", optional = true }
Expand Down

0 comments on commit dc93406

Please sign in to comment.