summaryrefslogtreecommitdiff
path: root/lang/cairo/files/patch-crates_cairo-lang-filesystem_src_detect.rs
blob: 79a545e51a9d014c73e542f4a011ce10920c8125 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- crates/cairo-lang-filesystem/src/detect.rs.orig	2024-08-02 16:35:10 UTC
+++ crates/cairo-lang-filesystem/src/detect.rs
@@ -8,6 +8,8 @@ pub fn detect_corelib() -> Option<PathBuf> {
             for _ in 0..$up {
                 path.pop();
             }
+            path.push("lib");
+            path.push("cairo-lang");
             path.push("corelib");
             path.push("src");
             if path.exists() {