Skip to content

Commit

Permalink
fix: fix the usage of include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 12, 2023
1 parent bf4f709 commit e6cc89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ impl Build {

for directory in self.include_directories.iter() {
cmd.args.push("-I".into());
cmd.args.push((**directory).into());
cmd.args.push(directory.as_os_str().into());
}

// If warnings and/or extra_warnings haven't been explicitly set,
Expand Down

0 comments on commit e6cc89b

Please sign in to comment.