From ddc39258c3b3084c9d4ae721f0b1181824d9c2a2 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 30 Oct 2020 13:24:14 +0900 Subject: [PATCH] Update comment in build.rs --- build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 30e627d..df13092 100644 --- a/build.rs +++ b/build.rs @@ -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 { let output = Command::new(rustc).args(&["--version", "--verbose"]).output().map_err(|e| {