Skip to content

Commit 381dd82

Browse files
d-e-s-oanakryiko
authored andcommitted
examples/rust: Switch to using resolver 2
When building the Rust examples we see a warning: > warning: some crates are on edition 2021 which defaults to > `resolver = "2"`, but virtual workspaces default to `resolver = "1"` > note: to keep the current resolver, specify `workspace.resolver = "1"` > in the workspace root's manifest > note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` > in the workspace root's manifest Fix it by switching to resolver 2. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 23b2801 commit 381dd82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/rust/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23
members = [
34
"tracecon",
45
"xdp",

0 commit comments

Comments
 (0)