Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HarmonyOS NEXT system #13184

Open
88250 opened this issue Nov 18, 2024 · 2 comments
Open

Support HarmonyOS NEXT system #13184

88250 opened this issue Nov 18, 2024 · 2 comments
Assignees

Comments

@88250
Copy link
Member

88250 commented Nov 18, 2024

支持鸿蒙系统

golang 不支持直接编译鸿蒙支持的共享库:

但可以通过修改 go 源码来绕过该问题,参考 @richerfu 大佬的文章 https://juejin.cn/post/7400961014051897379

@88250 88250 self-assigned this Nov 18, 2024
@88250 88250 changed the title 支持鸿蒙系统 Support HarmonyOS NEXT system Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
@hyperiris
Copy link

这个方案看起来是因为没有引入cgo,所以没有牵扯到musl,所以不会有问题。但是在复杂的业务场景里,出现了cgo、gomobile可能会不太行

@richerfu
Copy link

这个方案看起来是因为没有引入cgo,所以没有牵扯到musl,所以不会有问题。但是在复杂的业务场景里,出现了cgo、gomobile可能会不太行

完全正确,事实上更加完善的适配可以参考:https://gitee.com/wefuture/golang_go/tree/feature%2Ftlsgd_mode_support/

由社区大佬提供,本人对于 GO 研究不多仅限于浅薄的适配~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants