From a7fa5621ce313e4e7d16621cf04b218d1ba1c3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Mon, 12 Jul 2021 01:01:56 +0900 Subject: [PATCH] Try to rearrange the file order? --- helix-syntax/build.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index 2882f513..b73658d1 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -71,12 +71,13 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> { command .args(&["/nologo", "/LD", "/I"]) .arg(header_path) - .arg("/Od") - .arg(parser_path); + .arg("/Od"); if let Some(scanner_path) = scanner_path.as_ref() { command.arg(scanner_path); } + command + .arg(parser_path) .arg("/link") .arg(format!("/out:{}", library_path.to_str().unwrap())); } else {