Skip to content

Commit

Permalink
Update comment in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Oct 30, 2020
1 parent 88cdd28 commit ddc3925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ struct Version {
impl Version {
// Based on https://github.com/cuviper/autocfg/blob/1.0.1/src/version.rs#L25-L59
//
// Using our own parser instead of the existing crates to generate better errors.
// TODO: use autocfg if https://github.com/cuviper/autocfg/issues/28 merged
// or https://github.com/taiki-e/const_fn/issues/27 rejected.
fn from_rustc(rustc: &Path) -> Result<Self, String> {
let output =
Command::new(rustc).args(&["--version", "--verbose"]).output().map_err(|e| {
Expand Down

0 comments on commit ddc3925

Please sign in to comment.