sonos / dinghy

Easier cross-compilation for phones and single boards computers
Other
367 stars 44 forks source link

OpenHarmony support(ohos) #208

Open ldm0 opened 9 months ago

ldm0 commented 9 months ago

I am porting some private Rust projects to OpenHarmony.

OpenHarmony is basically another mobile operating system based on Linux, which owns a separate adb-like tool: hdc.

In terms of testing, dinghy is a very useful tool. So I created a fork to support OpenHarmony(https://github.com/ldm0/dinghy-ohos).

OpenHarmony's Rust toolchain is in tier 3 currently. I don't think there is any chance that this could be merged. But it would be great if you could leave this issue open, so that other developers which are also porting Rust stuff to OpenHarmony could find this.

Thanks. :-P

fredszaq commented 9 months ago

Hi @ldm0 !

Nice work ! It is always a pleasure to see dinghy used in new ways !

I don't see why we shouln't try and merge this into mainline dinghy ! The integration is effectively siloed so it should not cause a problem to existing dinghy users.

What would be nice before merging it would be to some way to test the integration using an emulator that we could run on the ci, like we do on android and ios (see https://github.com/sonos/dinghy/blob/main/.travis.sh) is this something you could add ?