Skip to content

Commit

Permalink
Try to rearrange the file order?
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Jul 11, 2021
1 parent 8bb70a1 commit 39318de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions helix-syntax/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 39318de

Please sign in to comment.