]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cargo/rust/rustfmt: exclude from world
authorRandy MacLeod <randy.macleod@windriver.com>
Thu, 25 Feb 2021 01:48:22 +0000 (20:48 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Aug 2021 21:09:24 +0000 (22:09 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/cargo/cargo.inc
meta/recipes-example/rustfmt/rustfmt_1.4.2.bb

index 32ccf0b7ae7538ec7ab5e5e2614cc9a1464d72fc..58aed254ff02782673ca48fb815c3ae7840b2f77 100644 (file)
@@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = " \
 
 S = "${RUSTSRC}/src/tools/cargo"
 CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"
+EXCLUDE_FROM_WORLD = "1"
 
 inherit cargo
 
index ecced49049b545b7460bc8a45049f4db7c4c205f..b7deb4097c1ada23640987bb33db8aa4e82f82eb 100644 (file)
@@ -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