mirror of https://github.com/helix-editor/helix
build(grammar): remove explicit opt out of optimizations for MSVC (#13451)
`cc` should pick correct defaults when `debug` or `release`.pull/13460/head
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…
Reference in New Issue