diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-06-30 15:09:03 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-06-30 15:17:12 +0800 |
| commit | f03074da23c4b3e4e8ffcff3408151929a583fdf (patch) | |
| tree | 719bac74bfa958aba5b6011d112f18f40004ceaa /src | |
| parent | c8cef5bfaa57d58ef87799281f1394286ab85b0a (diff) | |
| download | rust-f03074da23c4b3e4e8ffcff3408151929a583fdf.tar.gz rust-f03074da23c4b3e4e8ffcff3408151929a583fdf.zip | |
Move compiletest `main.rs` to `src/bin/`
To make it obvious `compiletest`-the-tool has two components: 1. The core compiletest library, and 2. The tool binary, which will be executed by bootstrap.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/Cargo.toml | 4 | ||||
| -rw-r--r-- | src/tools/compiletest/src/bin/main.rs (renamed from src/tools/compiletest/src/main.rs) | 0 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/compiletest/Cargo.toml b/src/tools/compiletest/Cargo.toml index 3b544d8b828..cdada5a2230 100644 --- a/src/tools/compiletest/Cargo.toml +++ b/src/tools/compiletest/Cargo.toml @@ -6,6 +6,10 @@ edition = "2024" [lib] doctest = false +[[bin]] +name = "compiletest" +path = "src/bin/main.rs" + [dependencies] # tidy-alphabetical-start anstyle-svg = "0.1.3" diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/bin/main.rs index 1f777e71cf9..1f777e71cf9 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/bin/main.rs |
