Skip to content

Commit

Permalink
Merge pull request #892 from LaurentMazare/clippy-fixes
Browse files Browse the repository at this point in the history
Clippy fixes.
  • Loading branch information
LaurentMazare committed Sep 11, 2024
2 parents 8647136 + c2ad78e commit 10ef423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ impl SystemInfo {
.pic(true)
.warnings(false)
.includes(&self.libtorch_include_dirs)
.flag(&format!("-Wl,-rpath={}", self.libtorch_lib_dir.display()))
.flag(format!("-Wl,-rpath={}", self.libtorch_lib_dir.display()))
.flag("-std=c++17")
.flag(&format!("-D_GLIBCXX_USE_CXX11_ABI={}", self.cxx11_abi))
.flag(format!("-D_GLIBCXX_USE_CXX11_ABI={}", self.cxx11_abi))
.flag("-DGLOG_USE_GLOG_EXPORT")
.files(&c_files)
.compile("tch");
Expand Down

0 comments on commit 10ef423

Please sign in to comment.