Add independent Rust engine, deterministic mod API and asset pipeline
This commit is contained in:
1 parent
f2cce6f51b
commit
dbb1d4596b
53 files changed
+18314
-56
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