Skip to content

Commit fc39c09

Browse files
committed
Work around to fix issue rust-lang#53912
1 parent 349dd0f commit fc39c09

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ mod debuginfo;
122122
mod declare;
123123
mod glue;
124124
mod intrinsic;
125-
pub mod llvm;
125+
126+
// The following is a work around that replaces `pub mod llvm;` and that fixes issue 53912.
127+
#[path = "llvm/mod.rs"] mod llvm_; pub mod llvm { pub use super::llvm_::*; }
128+
126129
mod llvm_util;
127130
mod metadata;
128131
mod meth;

0 commit comments

Comments
 (0)