From 9f6e1ce5df2592bbbcd869f62c1f0cfd9460290e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 19 Jul 2019 13:06:31 -0700 Subject: [PATCH] rustc: Compile the `fmt_macros` crate as an rlib I think this was left out by accident from the "convert everything to rlibs" commit, there's no need for this to be a dylib just as everything else doesn't need to be a dylib! --- src/libfmt_macros/Cargo.toml | 1 - .../run-make-fulldeps/hotplug_codegen_backend/the_backend.rs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libfmt_macros/Cargo.toml b/src/libfmt_macros/Cargo.toml index a95193b85952f..82a9e34c065b1 100644 --- a/src/libfmt_macros/Cargo.toml +++ b/src/libfmt_macros/Cargo.toml @@ -7,7 +7,6 @@ edition = "2018" [lib] name = "fmt_macros" path = "lib.rs" -crate-type = ["dylib"] [dependencies] syntax_pos = { path = "../libsyntax_pos" } diff --git a/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs b/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs index 75cad9ec8ff33..ec1868f32d487 100644 --- a/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs +++ b/src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs @@ -6,6 +6,7 @@ extern crate rustc_codegen_utils; #[macro_use] extern crate rustc_data_structures; extern crate rustc_target; +extern crate rustc_driver; use std::any::Any; use std::sync::{Arc, mpsc};