-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Comments
这个方案看起来是因为没有引入cgo,所以没有牵扯到musl,所以不会有问题。但是在复杂的业务场景里,出现了cgo、gomobile可能会不太行 |
完全正确,事实上更加完善的适配可以参考:https://gitee.com/wefuture/golang_go/tree/feature%2Ftlsgd_mode_support/ 由社区大佬提供,本人对于 GO 研究不多仅限于浅薄的适配~ |
@hyperiris @richerfu 目前已经可以拉起内核,模拟器和云调试都可以跑了 🙏 |
* commit '928c1d476a4b398bdee3752cc950aed85838bf8f': (148 commits) 🔖 Release v3.1.13 🐛 Automatic cleanup of the local data repo may accidentally delete snapshots siyuan-note#13203 🎨 Add internal kernel API `/api/sqlite/flushTransaction` siyuan-note#10005 🐛 Automatic cleanup of the local data repo may accidentally delete snapshots siyuan-note#13203 🎨 删除块,嵌入块中没有同步删除 💄 🔖 Release v3.1.12 ⬆️ eslint 🎨 Improve graph rendering siyuan-note#13196 🎨 siyuan-note#13143 🎨 siyuan-note#13190 📝 Update changelogs ⬆️ 🎨 Improve av option editing siyuan-note#11484 🎨 siyuan-note#13164 🎨 Support HarmonyOS NEXT system siyuan-note#13184 🎨 siyuan-note#11053 🚨 🎨 siyuan-note#11053 🎨 Support HarmonyOS NEXT system siyuan-note#13184 ...
@88250 老哥可以交流下解决方案吗,我目前也在尝试鸿蒙中引入go |
@aspirantioner 请参考 issue 正文中的文章 |
我这几天使用这个大佬修改过的go编译器编译了我们产品中的go模块,中间历经坎坷不一一言表,现在的结果是: |
支持鸿蒙系统 https://github.com/siyuan-note/siyuan-harmony
golang 不支持直接编译鸿蒙支持的共享库:
initial-exec TLS resolves to dynamic definition
golang/go#54805解决方案:
https://github.com/harmony-contrib/log-adaptor
旧方案:
但可以通过修改 go 源码来绕过该问题,参考 @richerfu 大佬的文章 https://juejin.cn/post/7400961014051897379
The text was updated successfully, but these errors were encountered: