kitgit

tirbofish/dropbear · commit

f6ebb65748b267ca7c7370dcfcbf88e24e11ec37

fix up russimp-sys-ng android compilation bug

Unverified

tk <4tkbytes@pm.me> · 2025-08-26 22:18

view full diff

diff --git a/Cargo.toml b/Cargo.toml
index 177f475..6a59752 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,6 +58,9 @@ features = ["png"]
 [patch.crates-io]
 dropbear-engine = { path = "dropbear-engine" }
 eucalyptus = { path = "eucalyptus" }
+# fixing android compilation
+russimp-sys-ng = { git = "https://github.com/Kek5chen/russimp-sys-ng", branch = "fix-android-compilation" }
+
 
 [profile.dev]
 opt-level = 0
diff --git a/eucalyptus/src/build/mod.rs b/eucalyptus/src/build/mod.rs
index 37c0bbf..276aa38 100644
--- a/eucalyptus/src/build/mod.rs
+++ b/eucalyptus/src/build/mod.rs
@@ -294,25 +294,25 @@ pub fn build(
     // ProjectConfig::read_from(&project_path)?.load_config_to_memory()?;
     
     let mut project_config = ProjectConfig::read_from(&project_path)?;
-    println!(" > Reading from project config");
+    log::info!(" > Reading from project config");
     project_config.load_config_to_memory()?;
-    println!(" > Loading config to memory");
+    log::info!(" > Loading config to memory");
 
     let source_config = {
         let source_guard = SOURCE.read().map_err(|_| anyhow::anyhow!("Unable to lock SOURCE"))?;
         source_guard.clone()
     };
-    println!(" > Copied source config");
+    log::info!(" > Copied source config");
 
     let scene_data = {
         let scenes_guard = SCENES.read().map_err(|_| anyhow::anyhow!("Unable to lock SCENES"))?;
         scenes_guard.clone()
     };
-    println!(" > Copied scene data");
+    log::info!(" > Copied scene data");
 
     let build_dir = project_path.parent().unwrap().join("build").join("output");
-    std::fs::create_dir_all(&build_dir)?;
-    println!(" > Created build dir");
+    fs::create_dir_all(&build_dir)?;
+    log::info!(" > Created build dir");
 
     let project_name = project_config.project_name.clone();
 

Large diffs are not rendered by default. Showing the first 50 of 72 lines. Show full diff