about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-07-19 13:06:31 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-07-29 08:15:08 -0700
commit9f6e1ce5df2592bbbcd869f62c1f0cfd9460290e (patch)
tree44cae9403b6e41478e5180be14f621ef614d10c6
parent04b88a9eba8abbac87eddcb2998beea09589c2c9 (diff)
downloadrust-9f6e1ce5df2592bbbcd869f62c1f0cfd9460290e.tar.gz
rust-9f6e1ce5df2592bbbcd869f62c1f0cfd9460290e.zip
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!
-rw-r--r--src/libfmt_macros/Cargo.toml1
-rw-r--r--src/test/run-make-fulldeps/hotplug_codegen_backend/the_backend.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/libfmt_macros/Cargo.toml b/src/libfmt_macros/Cargo.toml
index a95193b8595..82a9e34c065 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 75cad9ec8ff..ec1868f32d4 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};