about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-12-19 18:11:31 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-07-07 03:23:00 +0200
commit345ba505ece1d0b9f929d43bd7dc37036ae3c580 (patch)
treeff4cf50193a0b23ddf3479129006368ea1332be4 /src/librustc_codegen_llvm/lib.rs
parentb0bd5f236d9bea38b8c9048f379fec179b09984c (diff)
downloadrust-345ba505ece1d0b9f929d43bd7dc37036ae3c580.tar.gz
rust-345ba505ece1d0b9f929d43bd7dc37036ae3c580.zip
rustc: Remove `dylib` crate type from most rustc crates
Now that procedural macros no longer link transitively to libsyntax,
this shouldn't be needed any more! This commit is an experiment in
removing all dynamic libraries from rustc except for librustc_driver
itself. Let's see how far we can get with that!
Diffstat (limited to 'src/librustc_codegen_llvm/lib.rs')
-rw-r--r--src/librustc_codegen_llvm/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/lib.rs b/src/librustc_codegen_llvm/lib.rs
index dbcb2031552..0f0b9f27917 100644
--- a/src/librustc_codegen_llvm/lib.rs
+++ b/src/librustc_codegen_llvm/lib.rs
@@ -39,6 +39,7 @@ extern crate rustc_incremental;
 extern crate rustc_codegen_utils;
 extern crate rustc_codegen_ssa;
 extern crate rustc_fs_util;
+extern crate rustc_driver as _;
 
 #[macro_use] extern crate log;
 #[macro_use] extern crate syntax;