Skip to content

Commit

Permalink
Fix workspace manifest to use E2021 resolver. (Azure#584)
Browse files Browse the repository at this point in the history
While individual crates default to resolver v2 if they are E2021, workspaces are virtual manifests with no edition so they continue to default to resolver v1. cargo raises a warning about this but only sometimes, so this wasn't easily noticeable.

This change fixes the workspace manifest to use resolver v2.
  • Loading branch information
arsing authored Jan 19, 2024
1 parent 79ca1cb commit 55efa60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ members = [
"tpm/aziot-tpmd",
"tpm/tss-minimal",
]
resolver = "2"

# Don't let panics from callbacks cross FFI boundary

Expand Down

0 comments on commit 55efa60

Please sign in to comment.