diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-09-10 17:24:31 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-13 10:34:30 +0100 |
commit | c53b2539176199607eb12c706658a269c81d3232 (patch) | |
tree | 73381b71b20bdeb9162b04ab5de110897c574a5d /meta/recipes-extended/rust-example/rust-hello-world | |
parent | efa88e1c227d695319197f511701e0230d301f39 (diff) | |
download | openembedded-core-contrib-c53b2539176199607eb12c706658a269c81d3232.tar.gz |
rust-hello-world: move to recipes-extended
There is no need to have a single recipe in recipes-example; moving it
to recipes-extended put it with other recipes.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rust-example/rust-hello-world')
-rw-r--r-- | meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch | 24 |
1 files changed, 24 insertions, 0 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 new file mode 100644 index 0000000000..f319545ee1 --- /dev/null +++ b/meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch @@ -0,0 +1,24 @@ +From fa40b874f6470ec11a8fd7b0c9909d0cdd2d6feb Mon Sep 17 00:00:00 2001 +From: Dan Callaghan <dan.callaghan@opengear.com> +Date: Fri, 5 Feb 2021 08:56:34 +1000 +Subject: [PATCH] enable LTO + +Upstream-Status: Pending +--- + Cargo.toml | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/Cargo.toml b/Cargo.toml +index 7a2f6c8..cdb6b5d 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -3,3 +3,6 @@ + name = "rust-hello-world" + version = "0.0.1" + authors = ["Cody P Schafer <dev@codyps.com>"] ++ ++[profile.release] ++lto = true +-- +2.28.0 + |