builtin: fix termux println (#9829)
parent
f4e92997f2
commit
1fbf75f2e8
|
@ -206,7 +206,8 @@ pub fn println(s string) {
|
||||||
}
|
}
|
||||||
$if android {
|
$if android {
|
||||||
C.fprintf(C.stdout, c'%.*s\n', s.len, s.str)
|
C.fprintf(C.stdout, c'%.*s\n', s.len, s.str)
|
||||||
} $else $if ios {
|
}
|
||||||
|
$if ios {
|
||||||
C.WrappedNSLog(s.str)
|
C.WrappedNSLog(s.str)
|
||||||
} $else $if freestanding {
|
} $else $if freestanding {
|
||||||
bare_print(s.str, u64(s.len))
|
bare_print(s.str, u64(s.len))
|
||||||
|
|
Loading…
Reference in New Issue