Skip to content

Commit 29c349b

Browse files
committed
Work around to fix issue rust-lang#53912
1 parent 847e0bc commit 29c349b

File tree

1 file changed

+4
-1
lines changed
  • src/librustc_codegen_llvm

1 file changed

+4
-1
lines changed

src/librustc_codegen_llvm/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ mod debuginfo;
127127
mod declare;
128128
mod glue;
129129
mod intrinsic;
130-
pub mod llvm;
130+
131+
// The following is a work around that replaces `pub mod llvm;` and that fixes issue 53912.
132+
#[path = "llvm/mod.rs"] mod llvm_; pub mod llvm { pub use super::llvm_::*; }
133+
131134
mod llvm_util;
132135
mod metadata;
133136
mod meth;

0 commit comments

Comments
 (0)