diff --git a/Cargo.toml b/Cargo.toml index c36e3023c7..2bd67bb6d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,2 +1,10 @@ [workspace] members = ["field", "insertion", "plonky2", "util", "waksman"] + +[profile.release] +opt-level = 3 +#lto = "fat" +#codegen-units = 1 + +[profile.bench] +opt-level = 3 diff --git a/plonky2/Cargo.toml b/plonky2/Cargo.toml index bce9f4001a..466d3df6f4 100644 --- a/plonky2/Cargo.toml +++ b/plonky2/Cargo.toml @@ -55,11 +55,3 @@ harness = false [[bench]] name = "transpose" harness = false - -[profile.release] -opt-level = 3 -#lto = "fat" -#codegen-units = 1 - -[profile.bench] -opt-level = 3