Skip to content

Commit 9427ccb

Browse files
committed
Remove dead code from build_helper
1 parent ecf7299 commit 9427ccb

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/build_helper/lib.rs

-16
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,6 @@ pub fn restore_library_path() {
5555
}
5656
}
5757

58-
/// Run the command, printing what we are running.
59-
pub fn run_verbose(cmd: &mut Command) {
60-
println!("running: {:?}", cmd);
61-
run(cmd);
62-
}
63-
6458
pub fn run(cmd: &mut Command) {
6559
if !try_run(cmd) {
6660
std::process::exit(1);
@@ -108,16 +102,6 @@ pub fn try_run_suppressed(cmd: &mut Command) -> bool {
108102
output.status.success()
109103
}
110104

111-
pub fn gnu_target(target: &str) -> &str {
112-
match target {
113-
"i686-pc-windows-msvc" => "i686-pc-win32",
114-
"x86_64-pc-windows-msvc" => "x86_64-pc-win32",
115-
"i686-pc-windows-gnu" => "i686-w64-mingw32",
116-
"x86_64-pc-windows-gnu" => "x86_64-w64-mingw32",
117-
s => s,
118-
}
119-
}
120-
121105
pub fn make(host: &str) -> PathBuf {
122106
if host.contains("dragonfly")
123107
|| host.contains("freebsd")

0 commit comments

Comments
 (0)