Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare authored Oct 4, 2023
1 parent a3b4209 commit 5480d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ impl SystemInfo {
.pic(true)
.warnings(false)
.includes(&self.libtorch_include_dirs)
.flag("-std=c++17")
.flag("/std:c++17")
.files(&c_files)
.compile("tch");
}
Expand Down

0 comments on commit 5480d6f

Please sign in to comment.