Rollup merge of #107239 - tmiasko:tests, r=Mark-Simulacrum

Bring tests back into rustc source tarball

They were missing after recent move from src/test to tests.

cc ```@albertlarsan68```

Fixes #107081
This commit is contained in:
Matthias Krüger 2023-01-25 22:19:53 +01:00 committed by GitHub
commit b7baa9f217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -962,7 +962,7 @@ impl Step for PlainSourceTarball {
"Cargo.toml",
"Cargo.lock",
];
let src_dirs = ["src", "compiler", "library"];
let src_dirs = ["src", "compiler", "library", "tests"];
copy_src_dirs(builder, &builder.src, &src_dirs, &[], &plain_dst_src);