diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-06 12:04:42 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-02-06 12:10:42 +1100 |
| commit | 65d7e6937b71a76044575f0f727a4903c1574805 (patch) | |
| tree | eaa512288961a1a1c6d8f4236944cdbd5075b085 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 6741521dc478182392806e816e919a36be5a2ba2 (diff) | |
| download | rust-65d7e6937b71a76044575f0f727a4903c1574805.tar.gz rust-65d7e6937b71a76044575f0f727a4903c1574805.zip | |
Remove the `mod llvm_` hack, which should no longer be necessary
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 4a84fd29e44..14346795fda 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -71,14 +71,9 @@ mod debuginfo; mod declare; mod errors; mod intrinsic; - -// The following is a workaround that replaces `pub mod llvm;` and that fixes issue 53912. -#[path = "llvm/mod.rs"] -mod llvm_; -pub mod llvm { - pub use super::llvm_::*; -} - +// FIXME(Zalathar): Fix all the unreachable-pub warnings that would occur if +// this isn't pub, then make it not pub. +pub mod llvm; mod llvm_util; mod mono_item; mod type_; |
