diff --git a/Laboratory/Rust/Cargo.toml b/Laboratory/Rust/Cargo.toml index f667bead..25853a49 100644 --- a/Laboratory/Rust/Cargo.toml +++ b/Laboratory/Rust/Cargo.toml @@ -5,3 +5,7 @@ members = [ "functionality-testing", "benchmarking" ] + +[profile.bench] +lto = true +codegen-units = 1 \ No newline at end of file diff --git a/Laboratory/Rust/benchmarking/Cargo.toml b/Laboratory/Rust/benchmarking/Cargo.toml index fcfeb017..4152d80e 100644 --- a/Laboratory/Rust/benchmarking/Cargo.toml +++ b/Laboratory/Rust/benchmarking/Cargo.toml @@ -11,10 +11,6 @@ harness = false name = "flamegraph" required-features = ["pprof"] -[profile.bench] -lto = true -codegen-units = 1 - # Use exact versions for all things being tested [dependencies] bebop = { path = "../../../Runtime/Rust" }