Skip to content

Commit

Permalink
fix(loader): pass cc::Tool::args()
Browse files Browse the repository at this point in the history
Certain targets, such as `aarch64-apple-*`, require additional compiler
flags to cross-compile for the intended target.
  • Loading branch information
yvt authored and archseer committed Aug 2, 2022
1 parent 4461090 commit f6f054a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helix-loader/src/grammar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ fn build_tree_sitter_library(src_path: &Path, grammar: GrammarConfiguration) ->
for (key, value) in compiler.env() {
command.env(key, value);
}
command.args(compiler.args());

if cfg!(all(windows, target_env = "msvc")) {
command
Expand Down

0 comments on commit f6f054a

Please sign in to comment.