Commit d11936f
Fix compilation with target_env=ohos
OpenHarmony(alias ohos) is tie 3 supported target for rust.
see rust-lang/compiler-team#568.
In implementation it sits close to musl instead of bionic
and napi instead jni when comparing with android.
Below is copied from ohos sdk:
```
> ag iov_max openharmony/9/native/sysroot/usr/include
openharmony/9/native/sysroot/usr/include/limits.h
50:#define IOV_MAX 1024
162:#define _XOPEN_IOV_MAX 16
openharmony/9/native/sysroot/usr/include/unistd.h
320:#define _SC_IOV_MAX 60
```1 parent 76cbffb commit d11936f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
0 commit comments