diff options
| author | Trevor Gross <tmgross@umich.edu> | 2025-04-20 01:18:08 +0000 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-04-19 22:30:58 -0400 |
| commit | a48de6950ce784299dd06fc71c015ed48c09a95f (patch) | |
| tree | e68ecc199248d6865ba1ca20ca4bca6a325ac617 /library/compiler-builtins/builtins-test | |
| parent | c35cccd6764838330fb12320a33740e15ec8bb35 (diff) | |
| download | rust-a48de6950ce784299dd06fc71c015ed48c09a95f.tar.gz rust-a48de6950ce784299dd06fc71c015ed48c09a95f.zip | |
Move builtins-test-intrinsics out of the workspace
This crate doesn't need to be a default member since it requires the opposite settings from everything else. Exclude it from the workspace and run it only when explicitly requested. This also makes `cargo t --no-default-features` work without additional qualifiers. `--no-default-features` still needs to be passed to ensure `#![compiler_builtins]` does not get set. compiler-builtins needs doctests disabled in order for everything to work correctly, since this causes an error running rustdoc that is unrelated to features (our `compiler_builtins` is getting into the crate graph before that from the sysroot, but `#![compiler_builtins]` is not set). We can also remove `test = false` and `doctest = false` in `builtins-test` since these no longer cause issues. This is unlikely to be used but it is better to not quietly skip if anything ever gets added by accident.
Diffstat (limited to 'library/compiler-builtins/builtins-test')
| -rw-r--r-- | library/compiler-builtins/builtins-test/Cargo.toml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/compiler-builtins/builtins-test/Cargo.toml b/library/compiler-builtins/builtins-test/Cargo.toml index 526e9b18af0..18185d8fe40 100644 --- a/library/compiler-builtins/builtins-test/Cargo.toml +++ b/library/compiler-builtins/builtins-test/Cargo.toml @@ -5,10 +5,6 @@ authors = ["Alex Crichton <alex@alexcrichton.com>"] edition = "2024" publish = false -[lib] -test = false -doctest = false - [dependencies] # For fuzzing tests we want a deterministic seedable RNG. We also eliminate potential # problems with system RNGs on the variety of platforms this crate is tested on. |
