Try to rearrange the file order?
commita7fa5621ce313e4e7d16621cf04b218d1ba1c3fa
authorBlaž Hrastnik <blaz@mxxn.io>
dateMon 12 Jul 2021, 01:01 (5 years ago)
parentc8dc9b6
helix-syntax/build.rs+3−2
@@ -71,12 +71,13 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
7171 command
7272 .args(&["/nologo", "/LD", "/I"])
7373 .arg(header_path)
74− .arg("/Od")
75− .arg(parser_path);
74+ .arg("/Od");
7675 if let Some(scanner_path) = scanner_path.as_ref() {
7776 command.arg(scanner_path);
7877 }
78+
7979 command
80+ .arg(parser_path)
8081 .arg("/link")
8182 .arg(format!("/out:{}", library_path.to_str().unwrap()));
8283 } else {