fix(cli): keep default cc flags in build
This commit is contained in:
parent
90ba5256d1
commit
a2d2da314d
4 changed files with 59 additions and 76 deletions
|
|
@ -256,7 +256,7 @@ impl Generator {
|
|||
.count()
|
||||
+ 1;
|
||||
let constant_name = if let Some(symbol) = symbol {
|
||||
format!("{}_character_set_{}", self.symbol_ids[&symbol], count)
|
||||
format!("{}_character_set_{}", self.symbol_ids[symbol], count)
|
||||
} else {
|
||||
format!("extras_character_set_{}", count)
|
||||
};
|
||||
|
|
|
|||
|
|
@ -500,7 +500,7 @@ fn run() -> Result<()> {
|
|||
}
|
||||
(true, false) => &["TREE_SITTER_REUSE_ALLOCATOR"],
|
||||
(false, true) => &["TREE_SITTER_INTERNAL_BUILD"],
|
||||
(false, false) => &[""],
|
||||
(false, false) => &[],
|
||||
};
|
||||
|
||||
let config = Config::load(None)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue