From 4fc991fdeca5db36bd7be7197510e62a019e1677 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 16 Feb 2022 07:57:20 -0600 Subject: migrate grammar fetching/building code into helix-loader crate This is a rather large refactor that moves most of the code for loading, fetching, and building grammars into a new helix-loader module. This works well with the [[grammars]] syntax for languages.toml defined earlier: we only have to depend on the types for GrammarConfiguration in helix-loader and can leave all the [[language]] entries for helix-core. --- helix-term/build.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'helix-term/build.rs') diff --git a/helix-term/build.rs b/helix-term/build.rs index 7303041c..b5d62b28 100644 --- a/helix-term/build.rs +++ b/helix-term/build.rs @@ -14,10 +14,5 @@ fn main() { None => env!("CARGO_PKG_VERSION").into(), }; - println!( - "cargo:rustc-env=BUILD_TARGET={}", - std::env::var("TARGET").unwrap() - ); - println!("cargo:rustc-env=VERSION_AND_GIT_HASH={}", version); } -- cgit v1.2.3-70-g09d2