Skip to content

Commit

Permalink
rename bootstrap module utils/dylib_util->utils/dylib
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Oct 12, 2023
1 parent 1bb8ccf commit 4900e86
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bootstrap/src/bin/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use dylib_util::{dylib_path, dylib_path_var};
#[path = "../utils/bin_helpers.rs"]
mod bin_helpers;

#[path = "../utils/dylib_util.rs"]
#[path = "../utils/dylib.rs"]
mod dylib_util;

fn main() {
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/bin/rustdoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use dylib_util::{dylib_path, dylib_path_var};
#[path = "../utils/bin_helpers.rs"]
mod bin_helpers;

#[path = "../utils/dylib_util.rs"]
#[path = "../utils/dylib.rs"]
mod dylib_util;

fn main() {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use crate::core::builder::Builder;
use crate::core::config::{Config, TargetSelection};
use crate::OnceCell;

pub use crate::utils::dylib_util::{dylib_path, dylib_path_var};
pub use crate::utils::dylib::{dylib_path, dylib_path_var};

/// A helper macro to `unwrap` a result except also print out details like:
///
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pub(crate) mod cache;
pub(crate) mod cc_detect;
pub(crate) mod channel;
pub(crate) mod dylib_util;
pub(crate) mod dylib;
pub(crate) mod helpers;
pub(crate) mod job;
#[cfg(feature = "build-metrics")]
Expand Down

0 comments on commit 4900e86

Please sign in to comment.