From: Kent Gibson <warthog618@gmail.com>
To: linux-gpio@vger.kernel.org, brgl@bgdev.pl
Cc: Kent Gibson <warthog618@gmail.com>
Subject: [libgpiod][PATCH 2/2] bindings: rust: fix unclear resolver warning
Date: Thu, 29 Jun 2023 18:14:55 +0800 [thread overview]
Message-ID: <20230629101455.127795-3-warthog618@gmail.com> (raw)
In-Reply-To: <20230629101455.127795-1-warthog618@gmail.com>
Fix the following warning:
"some crates are on edition 2021 which defaults to `resolver = "2"`,
but virtual workspaces default to `resolver = "1"`"
Clarify the resolver selection as the 2021 edition by setting the
workspace.resolver to "2".
Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
bindings/rust/Cargo.toml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml
index 2e026b4..e385027 100644
--- a/bindings/rust/Cargo.toml
+++ b/bindings/rust/Cargo.toml
@@ -9,3 +9,5 @@ members = [
"libgpiod",
"libgpiod-sys"
]
+
+resolver = "2"
--
2.41.0
next prev parent reply other threads:[~2023-06-29 10:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-29 10:14 [libgpiod][PATCH 0/2] minor build warning fixes Kent Gibson
2023-06-29 10:14 ` [libgpiod][PATCH 1/2] examples: fix typo in Makefile.am Kent Gibson
2023-06-30 12:00 ` Bartosz Golaszewski
2023-06-29 10:14 ` Kent Gibson [this message]
2023-06-29 11:34 ` [libgpiod][PATCH 2/2] bindings: rust: fix unclear resolver warning Erik Schilling
2023-06-30 12:01 ` Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230629101455.127795-3-warthog618@gmail.com \
--to=warthog618@gmail.com \
--cc=brgl@bgdev.pl \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.