Commit 2df19c25 authored by Yushin Cho's avatar Yushin Cho Committed by Thomas Daede
Browse files

Set codegen-units = 1

So that upgraded rustc 1.25.0 version does not slow down
the release/test/bench binary by setting the default value of
codegen-units = 16.
parent 52a0d5f2
......@@ -24,3 +24,11 @@ bencher = "0.1.5"
[[bench]]
name = "bench"
harness = false
[profile.release]
codegen-units = 1 # if > 1 enables parallel code generation which improves
# compile times, but prevents some optimizations.
# Passes `-C codegen-units`. Ignored when `lto = true`.
[profile.bench]
codegen-units = 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment