Skip to content

Commit

Permalink
Explain why build was renamed to builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Dec 16, 2024
1 parent f9b1752 commit fb0f329
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions compiler/rustc_mir_build/src/builder/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//! This module used to be named `build`, but that was causing GitHub's
//! "Go to file" feature to silently ignore all files in the module, probably
//! because it assumes that "build" is a build-output directory.
//! See </~https://github.com/rust-lang/rust/pull/134365>.
use itertools::Itertools;
use rustc_abi::{ExternAbi, FieldIdx};
use rustc_apfloat::Float;
Expand Down
3 changes: 3 additions & 0 deletions compiler/rustc_mir_build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
#![warn(unreachable_pub)]
// tidy-alphabetical-end

// The `builder` module used to be named `build`, but that was causing GitHub's
// "Go to file" feature to silently ignore all files in the module, probably
// because it assumes that "build" is a build-output directory. See #134365.
mod builder;
mod check_tail_calls;
mod check_unsafety;
Expand Down

0 comments on commit fb0f329

Please sign in to comment.