mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
4fc991fdec
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.
7 lines
119 B
Rust
7 lines
119 B
Rust
fn main() {
|
|
println!(
|
|
"cargo:rustc-env=BUILD_TARGET={}",
|
|
std::env::var("TARGET").unwrap()
|
|
);
|
|
}
|