mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Remove strict type to allow cross compiling
Signed-off-by: Kaan Karakaya <yusufkaan142@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -38,7 +38,7 @@ mod _locale {
|
||||
}
|
||||
|
||||
let mut ptr = group;
|
||||
while ![0_i8, libc::c_char::MAX].contains(&*ptr) {
|
||||
while ![0, libc::c_char::MAX].contains(&*ptr) {
|
||||
let val = vm.ctx.new_int(*ptr);
|
||||
group_vec.push(val.into());
|
||||
ptr = ptr.add(1);
|
||||
|
||||
Reference in new issue
Block a user