Fix windows build

This commit is contained in:
2026-05-21 17:29:49 +02:00
parent 6276641dd1
commit 260986dfd0
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ fn main() {
let args: Vec::<_> = std::env::args().collect();
let data =
fs::read_to_string(&args[1]).expect("Unable to read input file");
fs::read_to_string(Path::new(&args[1])).expect("Unable to read input file");
let dbc = Dbc::try_from(data.as_str()).expect("Failed to parse dbc file");
let asc_path = Path::new(&args[2]);