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.
This commit is contained in:
Trevor Gross 2024-07-20 11:13:27 -05:00
parent 59429e67f9
commit 51827ce4e4
3 changed files with 89 additions and 1 deletions

View file

@ -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