Skip to content

Commit 205a2c2

Browse files
committed
Prefer /usr
1 parent 0e872d3 commit 205a2c2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set unstable
22

33
env_vars := if os() == "linux" {
4-
"LZMA_API_STATIC=1 LIBTORCH=/usr/local"
4+
"LZMA_API_STATIC=1 LIBTORCH=/usr"
55
} else if os() == "macos" {
66
"LZMA_API_STATIC=1 LIBTORCH=/opt/homebrew"
77
} else if os() == "windows" {

src/ast/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,7 @@ impl Pipe {
352352
self.modules
353353
.get(key)
354354
.map(|x| &**x as &(dyn Any + Send + Sync))
355-
.and_then(|x| {
356-
x.downcast_ref::<T>()
357-
})
355+
.and_then(|x| x.downcast_ref::<T>())
358356
}
359357

360358
pub async fn create_stream(

0 commit comments

Comments
 (0)