Skip to content

Commit a17bbb1

Browse files
committed
Work around to fix issue rust-lang#53912
1 parent 27ce236 commit a17bbb1

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
@@ -126,7 +126,10 @@ mod debuginfo;
126126
mod declare;
127127
mod glue;
128128
mod intrinsic;
129-
pub mod llvm;
129+
130+
// The following is a work around that replaces `pub mod llvm;` and that fixes issue 53912.
131+
#[path = "llvm/mod.rs"] mod llvm_; pub mod llvm { pub use super::llvm_::*; }
132+
130133
mod llvm_util;
131134
mod metadata;
132135
mod meth;

0 commit comments

Comments
 (0)