From 4a7a215f21c9d5804a7b62aa580d8019f7f93a4c Mon Sep 17 00:00:00 2001 From: Thorkil Vaerge Date: Thu, 11 Jan 2024 13:56:26 +0100 Subject: [PATCH] Change Triton-VM compile optimization flag to 0 for dev & tests Otherwise it takes 20+ minutes to compile on some machine. This should reduce compile times to max five minutes. If you need or want other optimization flags set, please do so on you own environment only, don't change these flags for other developers. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0b8feebab..107eff129 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ version = "1" # needed because it otherwise takes too long to sign transaction with STARK proofs [profile.dev.package.triton-vm] -opt-level = 3 +opt-level = 0 [profile.release.package.triton-vm] opt-level = 3 @@ -76,7 +76,7 @@ opt-level = 3 opt-level = 3 [profile.test.package.triton-vm] -opt-level = 3 +opt-level = 0 # [profile.test] # opt-level = 0 # change to 3 for shorter test running times but much longer test compilation time