Make RustRaptor the repository root and track its playable bundle
This commit is contained in:
1 parent
4b1edefeec
commit
8f459796b1
9860 files changed
+21084
-61019
No files matched your search
@@ -0,0 +1,9 @@
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-env-changed=HOME");
|
||||
if let Ok(home) = std::env::var("HOME") {
|
||||
let local = std::path::Path::new(&home).join(".local/lib");
|
||||
if local.join("libSDL2.so").exists() {
|
||||
println!("cargo:rustc-link-search=native={}", local.display());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user