diff options
-rw-r--r-- | rustc-1.29.0-src.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rustc-1.29.0-src.patch b/rustc-1.29.0-src.patch index df6ef8f5..69f831ff 100644 --- a/rustc-1.29.0-src.patch +++ b/rustc-1.29.0-src.patch @@ -23,3 +23,18 @@ + let rv = unsafe { ::intrinsics::mrustc_slice_len(self) }; + rv } +--- src/librustc_driver/Cargo.toml ++++ src/librustc_driver/Cargo.toml +@@ -39,1 +39,2 @@ + syntax_pos = { path = "../libsyntax_pos" } ++rustc_codegen_llvm = { path = "../librustc_codegen_llvm" } +--- src/librustc_driver/lib.rs ++++ src/librustc_driver/lib.rs +@@ -63,2 +63,3 @@ + extern crate syntax_pos; ++extern crate rustc_codegen_llvm; + +@@ -259,2 +260,3 @@ + let backend = match &codegen_name[..] { ++ "llvm" => rustc_codegen_llvm::__rustc_codegen_backend, + "metadata_only" => { |