summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch')
-rw-r--r--meta/recipes-extended/rust-example/rust-hello-world/0001-enable-LTO.patch24
1 files changed, 0 insertions, 24 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