File tree 2 files changed +12
-9
lines changed
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
106
106
debug = 0
107
107
strip = true
108
108
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
+
109
121
[patch .crates-io ]
110
122
# See comments in `library/rustc-std-workspace-core/README.md` for what's going on
111
123
# here
Original file line number Diff line number Diff line change @@ -13,12 +13,3 @@ rayon = "1"
13
13
14
14
[lib ]
15
15
name = " 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