mirror of
https://github.com/realAscot/helix.git
synced 2025-09-14 20:23:03 +02:00
build(grammar): remove explicit opt out of optimizations for MSVC (#13451)
`cc` should pick correct defaults when `debug` or `release`.
This commit is contained in:
parent
69b9db2fbb
commit
aa3fad84ef
@ -451,7 +451,6 @@ fn build_tree_sitter_library(
|
|||||||
command
|
command
|
||||||
.args(["/nologo", "/LD", "/I"])
|
.args(["/nologo", "/LD", "/I"])
|
||||||
.arg(header_path)
|
.arg(header_path)
|
||||||
.arg("/Od")
|
|
||||||
.arg("/utf-8")
|
.arg("/utf-8")
|
||||||
.arg("/std:c11");
|
.arg("/std:c11");
|
||||||
if let Some(scanner_path) = scanner_path.as_ref() {
|
if let Some(scanner_path) = scanner_path.as_ref() {
|
||||||
@ -469,7 +468,6 @@ fn build_tree_sitter_library(
|
|||||||
cpp_command
|
cpp_command
|
||||||
.args(["/nologo", "/LD", "/I"])
|
.args(["/nologo", "/LD", "/I"])
|
||||||
.arg(header_path)
|
.arg(header_path)
|
||||||
.arg("/Od")
|
|
||||||
.arg("/utf-8")
|
.arg("/utf-8")
|
||||||
.arg("/std:c++14")
|
.arg("/std:c++14")
|
||||||
.arg(format!("/Fo{}", object_file.display()))
|
.arg(format!("/Fo{}", object_file.display()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user