From aa3fad84ef136b482eb5f84abbf109f25af9700a Mon Sep 17 00:00:00 2001 From: RoloEdits Date: Thu, 1 May 2025 13:54:45 -0700 Subject: [PATCH] build(grammar): remove explicit opt out of optimizations for MSVC (#13451) `cc` should pick correct defaults when `debug` or `release`. --- helix-loader/src/grammar.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/helix-loader/src/grammar.rs b/helix-loader/src/grammar.rs index dcf440312..343cc9b95 100644 --- a/helix-loader/src/grammar.rs +++ b/helix-loader/src/grammar.rs @@ -451,7 +451,6 @@ fn build_tree_sitter_library( command .args(["/nologo", "/LD", "/I"]) .arg(header_path) - .arg("/Od") .arg("/utf-8") .arg("/std:c11"); if let Some(scanner_path) = scanner_path.as_ref() { @@ -469,7 +468,6 @@ fn build_tree_sitter_library( cpp_command .args(["/nologo", "/LD", "/I"]) .arg(header_path) - .arg("/Od") .arg("/utf-8") .arg("/std:c++14") .arg(format!("/Fo{}", object_file.display()))