File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,18 @@ rustc-demangle.debug = 0
106106debug = 0
107107strip = true
108108
109+ # Bigint libraries are slow without optimization, speed up testing
110+ [profile .dev .package .test-float-parse ]
111+ opt-level = 3
112+
113+ # Speed up the binary as much as possible
114+ [profile .release .package .test-float-parse ]
115+ opt-level = 3
116+ codegen-units = 1
117+ # FIXME: LTO cannot be enabled for binaries in a workspace
118+ # <https://github.com/rust-lang/cargo/issues/9330>
119+ # lto = true
120+
109121[patch .crates-io ]
110122# See comments in `library/rustc-std-workspace-core/README.md` for what's going on
111123# here
Original file line number Diff line number Diff line change @@ -13,12 +13,3 @@ rayon = "1"
1313
1414[lib ]
1515name = " test_float_parse"
16-
17- # Bigint libraries are slow without optimization, speed up testing
18- [profile .dev .package ."*" ]
19- opt-level = 3
20-
21- # Squeeze out the last bit of available speed
22- [profile .release ]
23- codegen-units = 1
24- lto = true
You can’t perform that action at this time.
0 commit comments