Skip to content

Commit

Permalink
Removing starting '\?' due to weird Windows incompatibilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherab Giovannini committed Mar 20, 2024
1 parent 9f9094e commit 9ea1515
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bootstrap/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ fn main() {
env!("CARGO_MANIFEST_DIR"),
"/../meta/src/grammar.pest"
));

let normalized_path = pest.to_string_lossy().to_string().replace(r#"\\?\"#, "");
let pest = Path::new(&normalized_path);

// Path on which we should write generated grammar file.
// In case `not-bootstrap-in-src` is:
// * OFF -> in `grammar.rs` next to `grammar.pest`
Expand Down

0 comments on commit 9ea1515

Please sign in to comment.