mirror of
https://github.com/termux/termux-packages.git
synced 2025-07-02 10:27:34 +00:00
12 lines
438 B
Diff
12 lines
438 B
Diff
--- a/library/std/src/sys/pal/unix/os.rs
|
|
+++ b/library/std/src/sys/pal/unix/os.rs
|
|
@@ -771,7 +771,7 @@
|
|
if #[cfg(all(target_vendor = "apple", not(miri)))] {
|
|
darwin_temp_dir()
|
|
} else if #[cfg(target_os = "android")] {
|
|
- PathBuf::from("/data/local/tmp")
|
|
+ PathBuf::from("@TERMUX_PREFIX@/tmp")
|
|
} else {
|
|
PathBuf::from("/tmp")
|
|
}
|