diff options
| author | Trevor Gross <tmgross@umich.edu> | 2024-07-20 11:13:27 -0500 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2024-07-20 11:39:34 -0500 |
| commit | 51827ce4e462d65e806be1f98e9630e446c33756 (patch) | |
| tree | d3b38f645cd8cec11f84603999c7e90b381f71f3 /Cargo.toml | |
| parent | 59429e67f91e9db38ea2dca8f2a99ec42aea68d7 (diff) | |
| download | rust-51827ce4e462d65e806be1f98e9630e446c33756.tar.gz rust-51827ce4e462d65e806be1f98e9630e446c33756.zip | |
Move `test-float-parse` to the global workspace
Since `test-float-parse` is now implemented in Rust, we can move it into the global workspace and check dependency licenses.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index ce87a8c20b7..043f339883a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ members = [ "compiler/rustc", "library/std", "library/sysroot", + "src/etc/test-float-parse", "src/rustdoc-json-types", "src/tools/build_helper", "src/tools/cargotest", @@ -109,6 +110,18 @@ strip = true debug = 0 strip = true +# Bigint libraries are slow without optimization, speed up testing +[profile.dev.package.test-float-parse] +opt-level = 3 + +# Speed up the binary as much as possible +[profile.release.package.test-float-parse] +opt-level = 3 +codegen-units = 1 +# FIXME: LTO cannot be enabled for binaries in a workspace +# <https://github.com/rust-lang/cargo/issues/9330> +# lto = true + [patch.crates-io] # See comments in `library/rustc-std-workspace-core/README.md` for what's going on # here |
