]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/dist.rs
Auto merge of #100676 - lcnr:implied-bounds-yay, r=nikomatsakis
[rust.git] / src / bootstrap / dist.rs
index 95655c0ee35989eec45dbfbe2eeb28116061abfa..6291b204e485f0e32c523651804ddb24bf76a1ef 100644 (file)
@@ -362,6 +362,18 @@ fn prepare_image(builder: &Builder<'_>, compiler: Compiler, image: &Path) {
 
             builder.install(&builder.rustdoc(compiler), &image.join("bin"), 0o755);
 
+            let ra_proc_macro_srv = builder
+                .ensure(tool::RustAnalyzerProcMacroSrv {
+                    compiler: builder.compiler_for(
+                        compiler.stage,
+                        builder.config.build,
+                        compiler.host,
+                    ),
+                    target: compiler.host,
+                })
+                .expect("rust-analyzer-proc-macro-server always builds");
+            builder.install(&ra_proc_macro_srv, &image.join("libexec"), 0o755);
+
             let libdir_relative = builder.libdir_relative(compiler);
 
             // Copy runtime DLLs needed by the compiler