diff --git a/vlib/os/os.v b/vlib/os/os.v index e643857e97..648f461bc8 100644 --- a/vlib/os/os.v +++ b/vlib/os/os.v @@ -724,6 +724,9 @@ pub fn temp_dir() string { path = cache_dir() } } + $if termux { + path = '/data/data/com.termux/files/usr/tmp' + } if path == '' { path = '/tmp' }