Skip to content

Commit 45d6c51

Browse files
committed
fix path
1 parent 03448b4 commit 45d6c51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rewatch/src/build/compile.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,10 @@ pub fn compiler_args(
475475
vec![
476476
namespace_args,
477477
read_cmi_args,
478-
vec!["-I".to_string(), "../ocaml".to_string()],
478+
vec![
479+
"-I".to_string(),
480+
Path::new("..").join("ocaml").to_string_lossy().to_string(),
481+
],
479482
dependency_paths.concat(),
480483
uncurried_args,
481484
bsc_flags.to_owned(),

0 commit comments

Comments
 (0)