Skip to content

Commit c76fc3d

Browse files
denismerigouxeddyb
authored andcommitted
Work around to fix issue #53912
1 parent 5a9e6b8 commit c76fc3d

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
@@ -116,7 +116,10 @@ mod debuginfo;
116116
mod declare;
117117
mod glue;
118118
mod intrinsic;
119-
pub mod llvm;
119+
120+
// The following is a work around that replaces `pub mod llvm;` and that fixes issue 53912.
121+
#[path = "llvm/mod.rs"] mod llvm_; pub mod llvm { pub use super::llvm_::*; }
122+
120123
mod llvm_util;
121124
mod metadata;
122125
mod meth;

0 commit comments

Comments
 (0)