diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-03-19 05:19:17 +0000 | 
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-03-19 00:49:34 -0500 | 
| commit | 683485cda22efc3514da4de730968e691e3a902f (patch) | |
| tree | 8d7d34d0f763b07f9133a696d453380ddda77fb5 /library/compiler-builtins/crates | |
| parent | 3167cbb6d01e247ca679712fd923c7cfbc45d7fc (diff) | |
| download | rust-683485cda22efc3514da4de730968e691e3a902f.tar.gz rust-683485cda22efc3514da4de730968e691e3a902f.zip | |
Switch repository layout to use a virtual manifest
The current setup has the `Cargo.toml` for `compiler-builtins` at the repository root, which means all support crates and other files are located within the package root. This works for now but is not the cleanest setup since files that should or shouldn't be included in the package need to be configured in `Cargo.toml`. If we eventually merge `libm` development into this repository, it would be nice to make this separation more straightforward. Begin cleaning things up by moving the crate source to a new `compiler-builtins` directory and adding a virtual manifest. For now the `libm` submodule is also moved, but in the future it can likely move back to the top level (ideally `compiler-builtins/src` would contain a symlink to `libm/src/math`, but unfortunately it seems like Cargo does not like something about the submodule + symlink combination).
Diffstat (limited to 'library/compiler-builtins/crates')
| -rw-r--r-- | library/compiler-builtins/crates/panic-handler/Cargo.toml | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/library/compiler-builtins/crates/panic-handler/Cargo.toml b/library/compiler-builtins/crates/panic-handler/Cargo.toml index 96b83eaa226..a6764fc481b 100644 --- a/library/compiler-builtins/crates/panic-handler/Cargo.toml +++ b/library/compiler-builtins/crates/panic-handler/Cargo.toml @@ -5,4 +5,8 @@ authors = ["Alex Crichton <alex@alexcrichton.com>"] edition = "2024" publish = false +[lib] +test = false +bench = false + [dependencies] | 
