about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-15 12:04:30 +0000
committerbors <bors@rust-lang.org>2022-12-15 12:04:30 +0000
commitf43e4f30d884a07917e78fa0b241ff91efc931cf (patch)
tree7abc2402100335d0ac2be1a13fa4b9c257d38174 /src
parentbe15e60d0042500595eb133e804a1ba8e6a4789e (diff)
parent004b885c0afe34d6f8e6649f1faa8bbef656172c (diff)
downloadrust-f43e4f30d884a07917e78fa0b241ff91efc931cf.tar.gz
rust-f43e4f30d884a07917e78fa0b241ff91efc931cf.zip
Auto merge of #9927 - xFrednet:0000-rustc-tool-macro-update, r=matthiaskrgr
Cleanup `rustc_tool_util` and add a convenient macro for `build.rs`

changelog: none
<!-- changelog_checked -->

If possible, I'd like to have a new release for this, maybe `v0.3.0` to use the changes in another project. Then we can also remove the `path = "./rustc_tools_util"` from `Cargo.toml`. I'd be happy to help with the release on crates.io if you'd like the help :)

r? `@matthiaskrgr`
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs1
-rw-r--r--src/main.rs1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 9ec4df8e651..bcc096c570e 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -19,7 +19,6 @@ extern crate rustc_span;
 use rustc_interface::interface;
 use rustc_session::parse::ParseSess;
 use rustc_span::symbol::Symbol;
-use rustc_tools_util::VersionInfo;
 
 use std::borrow::Cow;
 use std::env;
diff --git a/src/main.rs b/src/main.rs
index d418d2daa31..7a78b32620d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,7 +2,6 @@
 // warn on lints, that are included in `rust-lang/rust`s bootstrap
 #![warn(rust_2018_idioms, unused_lifetimes)]
 
-use rustc_tools_util::VersionInfo;
 use std::env;
 use std::path::PathBuf;
 use std::process::{self, Command};