Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/lang/cairo/files/patch-crates_cairo-lang-filesystem_src_detect.rs
18157 views
1
--- crates/cairo-lang-filesystem/src/detect.rs.orig 2024-08-02 16:35:10 UTC
2
+++ crates/cairo-lang-filesystem/src/detect.rs
3
@@ -8,6 +8,8 @@ pub fn detect_corelib() -> Option<PathBuf> {
4
for _ in 0..$up {
5
path.pop();
6
}
7
+ path.push("lib");
8
+ path.push("cairo-lang");
9
path.push("corelib");
10
path.push("src");
11
if path.exists() {
12
13