Skip to content

Commit

Permalink
Unrolled build for rust-lang#135256
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#135256 - onur-ozkan:weird-mod-position, r=clubby789,jieyouxu

Move `mod cargo`  below the import statements

Just caught that during a [bootstrap reading-club](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/.5BBRC.5D.20How.20do.20Steps.20and.20Paths.20work.3F) session.
  • Loading branch information
rust-timer authored Jan 9, 2025
2 parents e26ff2f + 61bda87 commit f39a465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bootstrap/src/core/builder/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
mod cargo;

use std::any::{Any, type_name};
use std::cell::{Cell, RefCell};
use std::collections::BTreeSet;
Expand All @@ -25,6 +23,8 @@ use crate::utils::exec::{BootstrapCommand, command};
use crate::utils::helpers::{self, LldThreads, add_dylib_path, exe, libdir, linker_args, t};
use crate::{Build, Crate};

mod cargo;

#[cfg(test)]
mod tests;

Expand Down

0 comments on commit f39a465

Please sign in to comment.