From 6e8bc6056a78af86f150d2fbea55638637857d5f Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 17 May 2021 16:38:19 -0700 Subject: [PATCH 1/2] enable LTO on release builds should result in a somewhat faster Rust backend --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 23aaea6b1..17de10b11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,3 +2,7 @@ members = [ "console_backend", ] + +[profile.release] +lto = true +codegen-units = 1 From 90856a676485e4434b58fd96d16311dbecc53938 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Mon, 17 May 2021 17:32:22 -0700 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 17de10b11..05c3e69f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,5 @@ [workspace] -members = [ - "console_backend", -] +members = ["console_backend"] [profile.release] lto = true