From: "Randy MacLeod" <randy.macleod@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 7/8] cargo/rust/rustfmt: exclude from world
Date: Tue, 23 Feb 2021 22:02:00 -0500 [thread overview]
Message-ID: <20210224030201.349588-8-Randy.MacLeod@windriver.com> (raw)
In-Reply-To: <20210224030201.349588-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-24 3:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-24 3:01 Merge meta-rust to oe-core Randy MacLeod
2021-02-24 3:01 ` [PATCH 1/8] Add libgit2, libssh2 from meta-oe for rust Randy MacLeod
2021-02-24 3:01 ` [PATCH 2/8] libssh2: pull in additional commits from meta-oe Randy MacLeod
2021-02-24 3:01 ` [PATCH 3/8] libgit2: pull in updates " Randy MacLeod
2021-02-24 3:01 ` [PATCH 4/8] meta-rust: move code to oe-core from meta-rust layer Randy MacLeod
2021-02-24 3:01 ` [PATCH 5/8] rust: mv README.md to recipes-devtools/rust/README-rust.md Randy MacLeod
2021-02-24 3:01 ` [PATCH 6/8] meta-rust: merge commits Randy MacLeod
2021-02-24 3:02 ` Randy MacLeod [this message]
2021-02-24 3:02 ` [PATCH 8/8] rust: add a language demo image to test reproducibility Randy MacLeod
2021-02-24 9:39 ` [OE-core] Merge meta-rust to oe-core Richard Purdie
2021-02-24 18:23 ` Randy MacLeod
2021-02-24 20:26 ` Randy MacLeod
[not found] ` <1666A58EF14596DD.29651@lists.openembedded.org>
2021-02-24 16:53 ` Richard Purdie
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=20210224030201.349588-8-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.