Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 1 | From fa40b874f6470ec11a8fd7b0c9909d0cdd2d6feb Mon Sep 17 00:00:00 2001 |
| 2 | From: Dan Callaghan <dan.callaghan@opengear.com> |
| 3 | Date: Fri, 5 Feb 2021 08:56:34 +1000 |
| 4 | Subject: [PATCH] enable LTO |
| 5 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | Upstream-Status: Pending |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 7 | --- |
| 8 | Cargo.toml | 3 +++ |
| 9 | 1 file changed, 3 insertions(+) |
| 10 | |
| 11 | diff --git a/Cargo.toml b/Cargo.toml |
| 12 | index 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 | -- |
| 23 | 2.28.0 |
| 24 | |