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`
This commit is contained in:
bors 2022-12-15 12:04:30 +00:00
commit f43e4f30d8
9 changed files with 62 additions and 57 deletions

View file

@ -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;