From: "Randy MacLeod" <randy.macleod@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 6/7] cargo/rust/rustfmt: exclude from world
Date: Wed, 24 Feb 2021 20:48:22 -0500 [thread overview]
Message-ID: <20210225014823.397741-7-Randy.MacLeod@windriver.com> (raw)
In-Reply-To: <20210225014823.397741-1-Randy.MacLeod@windriver.com>
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
meta/recipes-devtools/cargo/cargo.inc | 1 +
meta/recipes-example/rustfmt/rustfmt_1.4.2.bb | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/cargo/cargo.inc b/meta/recipes-devtools/cargo/cargo.inc
index 9645b90df6..5118cc1ab1 100644
--- a/meta/recipes-devtools/cargo/cargo.inc
+++ b/meta/recipes-devtools/cargo/cargo.inc
@@ -15,6 +15,7 @@ SRC_URI += "file://0001-Disable-http2.patch"
S = "${RUSTSRC}/src/tools/cargo"
CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"
+EXCLUDE_FROM_WORLD = "1"
inherit cargo
diff --git a/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb b/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb
index ecced49049..b7deb4097c 100644
--- a/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb
+++ b/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb
@@ -11,7 +11,7 @@ SRC_URI += "git://github.com/rust-lang/rustfmt/;protocol=https;nobranch=1"
SRCREV = "aeb3496f31a0dfa90fc511520d2023634e885260"
S = "${WORKDIR}/git"
CARGO_SRC_DIR = ""
-
+EXCLUDE_FROM_WORLD = "1"
# please note if you have entries that do not begin with crate://
# you must change them to how that package can be fetched
--
2.27.0
next prev parent reply other threads:[~2021-02-25 1:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <16668FEB024AAA5B.31532@lists.openembedded.org>
2021-02-25 1:48 ` [v2] Merge meta-rust to oe-core Randy MacLeod
2021-02-25 1:48 ` [PATCH 1/7] meta-rust: move code to oe-core from meta-rust layer Randy MacLeod
2021-02-25 1:48 ` [PATCH 2/7] rust: mv README.md to recipes-devtools/rust/README-rust.md Randy MacLeod
2021-02-25 1:48 ` [PATCH 3/7] meta-rust: merge commits Randy MacLeod
2021-02-25 1:48 ` [PATCH 4/7] rust: update the README to conform to being in oe-core Randy MacLeod
2021-02-25 1:48 ` [PATCH 5/7] rust: remove container build scripts used by meta-rust Randy MacLeod
2021-02-25 1:48 ` Randy MacLeod [this message]
2021-02-25 1:48 ` [PATCH 7/7] maintainers: Add myself as maintainer for rust pkgs Randy MacLeod
2021-02-25 16:55 ` [OE-core] [v2] Merge meta-rust to oe-core Richard Purdie
2021-02-25 17:37 ` Martin Jansa
2021-02-25 21:40 ` Randy MacLeod
2021-03-04 1:28 ` Randy MacLeod
2021-03-02 2:30 ` Randy MacLeod
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=20210225014823.397741-7-Randy.MacLeod@windriver.com \
--to=randy.macleod@windriver.com \
--cc=openembedded-core@lists.openembedded.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.