From 2f845abd607a0029dd8704d879c66cd2dcf43587 Mon Sep 17 00:00:00 2001 From: capossele Date: Thu, 28 Sep 2023 15:51:10 +0100 Subject: [PATCH 1/2] use lto = thin --- guests/eth-block/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/eth-block/Cargo.toml b/guests/eth-block/Cargo.toml index 98611727..254ba716 100644 --- a/guests/eth-block/Cargo.toml +++ b/guests/eth-block/Cargo.toml @@ -20,3 +20,4 @@ sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2-v0.10.6 [profile.release] codegen-units = 1 panic = "abort" +lto = "thin" From ddf1debca0fad353853867e7a7d92b19c3bbb413 Mon Sep 17 00:00:00 2001 From: capossele Date: Thu, 28 Sep 2023 16:02:44 +0100 Subject: [PATCH 2/2] add lto to op --- guests/op-block/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/op-block/Cargo.toml b/guests/op-block/Cargo.toml index 90f63ab3..e4ee5881 100644 --- a/guests/op-block/Cargo.toml +++ b/guests/op-block/Cargo.toml @@ -20,3 +20,4 @@ sha2 = { git = "https://github.com/risc0/RustCrypto-hashes", tag = "sha2/v0.10.6 [profile.release] codegen-units = 1 panic = "abort" +lto = "thin"