changeset 6757:b14edc3dcf07

build(grammar): remove explicit opt out of optimizations for MSVC (#13451) `cc` should pick correct defaults when `debug` or `release`.
author RoloEdits <RoloEdits@gmail.com>
date Thu, 01 May 2025 13:54:45 -0700
parents 5af1d6f79785
children 9766d2a1e3ad
files helix-loader/src/grammar.rs
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/helix-loader/src/grammar.rs	Fri May 02 00:12:30 2025 +1000
+++ b/helix-loader/src/grammar.rs	Thu May 01 13:54:45 2025 -0700
@@ -451,7 +451,6 @@
         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 @@
                 cpp_command
                     .args(["/nologo", "/LD", "/I"])
                     .arg(header_path)
-                    .arg("/Od")
                     .arg("/utf-8")
                     .arg("/std:c++14")
                     .arg(format!("/Fo{}", object_file.display()))