We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a2c97c commit a28e3d2Copy full SHA for a28e3d2
src/bootstrap/test.rs
@@ -290,6 +290,13 @@ impl Step for Rls {
290
"src/tools/rls",
291
SourceType::Submodule);
292
293
+ // Copy `src/tools/rls/test_data` to a writable drive.
294
+ let test_workspace_path = builder.out.join("rls-test-data");
295
+ let test_data_path = test_workspace_path.join("test_data");
296
+ builder.create_dir(&test_data_path);
297
+ builder.cp_r(&builder.src.join("src/tools/rls/test_data"), &test_data_path);
298
+ cargo.env("RLS_TEST_WORKSPACE_DIR", test_workspace_path);
299
+
300
builder.add_rustc_lib_path(compiler, &mut cargo);
301
302
if try_run(builder, &mut cargo) {
0 commit comments