Skip to content

Commit

Permalink
Clippy fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Sep 11, 2024
1 parent 8647136 commit c2ad78e
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 c2ad78e

Please sign in to comment.