Skip to content

Commit

Permalink
Rollup merge of rust-lang#135256 - onur-ozkan:weird-mod-position, r=c…
Browse files Browse the repository at this point in the history
…lubby789,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
matthiaskrgr authored Jan 9, 2025
2 parents 07a2995 + 61bda87 commit afbd735
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 afbd735

Please sign in to comment.