summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rust-example
diff options
context:
space:
mode:
authorFrederic Martinsons <frederic.martinsons@gmail.com>2023-08-02 15:16:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-09 13:22:00 +0100
commite9a09c8012931c8b4b22cb1de3fc7d967af11f0a (patch)
treef39df442884f4ef7016f43a6537c5ae96a408e85 /meta/recipes-extended/rust-example
parent2dd04232e77c88a251c19e60f148f6a0fe02e691 (diff)
downloadpoky-e9a09c8012931c8b4b22cb1de3fc7d967af11f0a.tar.gz
rust-hello-world: Drop recipe
we now have more rust/cargo recipes and tests that cover various use cases so this is no longer needed. (From OE-Core rev: 8baaf94d200f5355791ecd980727698b1ab0e539) Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rust-example')
-rw-r--r--meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch24
-rw-r--r--meta/recipes-extended/rust-example/rust-hello-world_git.bb19
2 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch b/meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch
deleted file mode 100644
index f319545ee1..0000000000
--- a/meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1From fa40b874f6470ec11a8fd7b0c9909d0cdd2d6feb Mon Sep 17 00:00:00 2001
2From: Dan Callaghan <dan.callaghan@opengear.com>
3Date: Fri, 5 Feb 2021 08:56:34 +1000
4Subject: [PATCH] enable LTO
5
6Upstream-Status: Pending
7---
8 Cargo.toml | 3 +++
9 1 file changed, 3 insertions(+)
10
11diff --git a/Cargo.toml b/Cargo.toml
12index 7a2f6c8..cdb6b5d 100644
13--- a/Cargo.toml
14+++ b/Cargo.toml
15@@ -3,3 +3,6 @@
16 name = "rust-hello-world"
17 version = "0.0.1"
18 authors = ["Cody P Schafer <dev@codyps.com>"]
19+
20+[profile.release]
21+lto = true
22--
232.28.0
24
diff --git a/meta/recipes-extended/rust-example/rust-hello-world_git.bb b/meta/recipes-extended/rust-example/rust-hello-world_git.bb
deleted file mode 100644
index 1d91109b51..0000000000
--- a/meta/recipes-extended/rust-example/rust-hello-world_git.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1inherit cargo
2
3SRC_URI = "git://github.com/meta-rust/rust-hello-world.git;protocol=https;branch=master"
4SRCREV="e0fa23f1a3cb1eb1407165bd2fc36d2f6e6ad728"
5LIC_FILES_CHKSUM="file://COPYRIGHT;md5=e6b2207ac3740d2d01141c49208c2147"
6
7SRC_URI += "\
8 file://0001-enable-LTO.patch \
9 "
10
11UPSTREAM_CHECK_COMMITS = "1"
12
13SUMMARY = "Hello World by Cargo for Rust"
14HOMEPAGE = "https://github.com/meta-rust/rust-hello-world"
15LICENSE = "MIT | Apache-2.0"
16
17S = "${WORKDIR}/git"
18
19BBCLASSEXTEND = "native"