mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Gate home_dir import on non-Android
Fix the remaining Android build warning by only importing dirs::home_dir when it is used. This keeps the desktop default unchanged and avoids an unused_imports warning under cargo-ndk.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#[cfg(not(target_os = "android"))]
|
||||
use dirs::home_dir;
|
||||
use std::path::PathBuf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user