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

在tinygo支持类似于rust的wasm32-unknow-unknown的编译目标, suport target for tinygo like wasm32-unknow-unknown in rust #55

Open
hunjixin opened this issue Aug 8, 2022 · 1 comment
Assignees
Labels
C-enhancement Category - New feature or request

Comments

@hunjixin
Copy link
Contributor

hunjixin commented Aug 8, 2022

No description provided.

@hunjixin hunjixin changed the title suport target for tinygo like wasn32-unknow-unknown in rust 在tinygo支持类似于rust的wasn32-unknow-unknown的编译目标, suport target for tinygo like wasn32-unknow-unknown in rust Aug 8, 2022
@hunjixin
Copy link
Contributor Author

hunjixin commented Aug 8, 2022

filecoin-project/ref-fvm#665
https://gophers.slack.com/archives/CDJD3SUP6/p1659607563251429
https://gophers.slack.com/archives/CDJD3SUP6/p1658800740408479

经过很多讨论,目前tinygo团队对这个还是积极的态度, 增加新的target,需要承诺进行长期维护。 从技术上来说问题应不大。
该target具体行为参考 https://github.com/rust-lang/rust/tree/master/library/std/src/sys/unsupported

带来的好处:

可以生成更干净的wasm代码,不需要在对代码库进行任何改变,天然支持。

可能存在的问题:

还是需要做patch支持,应为目前tinygo有些函数(reflect)没有实现。 目前粗略的实现还没有进tinygo主分支,这里还需要继续以patch的方式来提供这部分代码

@hunjixin hunjixin changed the title 在tinygo支持类似于rust的wasn32-unknow-unknown的编译目标, suport target for tinygo like wasn32-unknow-unknown in rust 在tinygo支持类似于rust的wasm32-unknow-unknown的编译目标, suport target for tinygo like wasm32-unknow-unknown in rust Aug 8, 2022
@hunjixin hunjixin self-assigned this Aug 15, 2022
@hunjixin hunjixin added the C-enhancement Category - New feature or request label Aug 15, 2022
@hunjixin hunjixin moved this to Backlog in go-fvm-sdk Aug 15, 2022
@hunjixin hunjixin moved this from Backlog to Todo in go-fvm-sdk Aug 15, 2022
@Fatman13 Fatman13 moved this to In Progress in go-fvm-sdk Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category - New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant