aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-07-11 16:01:56 +0000
committerBlaž Hrastnik2021-07-14 01:00:05 +0000
commita7fa5621ce313e4e7d16621cf04b218d1ba1c3fa (patch)
tree2797e2f671787b17f9fc68765cbb5d608aaebab4 /helix-syntax
parentc8dc9b64dd0f6726cd1d36a61c563212721ef249 (diff)
Try to rearrange the file order?
Diffstat (limited to 'helix-syntax')
-rw-r--r--helix-syntax/build.rs5
1 files 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 {