update lang

This commit is contained in:
csf
2022-09-29 13:07:37 +08:00
parent 9911f4d2f5
commit 42e298741a
23 changed files with 58 additions and 11 deletions

View File

@@ -765,7 +765,9 @@ pub fn is_release() -> bool {
#[inline]
pub fn is_root() -> bool {
crate::platform::is_root()
#[cfg(not(any(target_os = "android", target_os = "ios")))]
return crate::platform::is_root();
false
}
#[inline]