-
Notifications
You must be signed in to change notification settings - Fork 193
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
feat: add guest binding generator for TinyGo/Go #471
Commits on Jan 31, 2023
-
created wit-bindgen-gen-guest-go crate and added to the clap CLI
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc629ab - Browse repository at this point
Copy the full SHA cc629abView commit details -
rewrote import and export using a more generic conversion method
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d9b2de1 - Browse repository at this point
Copy the full SHA d9b2de1View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6676c9 - Browse repository at this point
Copy the full SHA a6676c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c13f4e - Browse repository at this point
Copy the full SHA 8c13f4eView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8322b39 - Browse repository at this point
Copy the full SHA 8322b39View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58accff - Browse repository at this point
Copy the full SHA 58accffView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eac3b6a - Browse repository at this point
Copy the full SHA eac3b6aView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca5da81 - Browse repository at this point
Copy the full SHA ca5da81View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8714211 - Browse repository at this point
Copy the full SHA 8714211View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f2f6b3 - Browse repository at this point
Copy the full SHA 2f2f6b3View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bd4170 - Browse repository at this point
Copy the full SHA 1bd4170View commit details -
added codegen for go bindgen. Further work needs to pass all the tests
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e589640 - Browse repository at this point
Copy the full SHA e589640View commit details -
get more tests passed, including conventions
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e4e7e4 - Browse repository at this point
Copy the full SHA 8e4e7e4View commit details -
now flags and alias are working
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5af852 - Browse repository at this point
Copy the full SHA e5af852View commit details -
milestone: implemented multi-return
Signed-off-by: Jiaxiao Zhou <[email protected]> cargo clippy Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 81ffab6 - Browse repository at this point
Copy the full SHA 81ffab6View commit details -
milestone: implemented union, enum and variantss
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a10a41 - Browse repository at this point
Copy the full SHA 4a10a41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 367bc8b - Browse repository at this point
Copy the full SHA 367bc8bView commit details -
avoid Go keywords conflict with wit's variable names
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a85995 - Browse repository at this point
Copy the full SHA 0a85995View commit details -
milestone: all codegen tests passed.
The issue with "fragment is larger than or outside of variable" is a known issue and has been resolved in tinygo v0.26. However, tinygo v0.26 introduces a regression for wasm/wasi target where the compiler panics when size 0 passed to malloc. See tinygo-org/tinygo#3303 for details Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e81e340 - Browse repository at this point
Copy the full SHA e81e340View commit details -
refactor: add gen-guest-c dependency to gen-guest-go.
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e9cd43c - Browse repository at this point
Copy the full SHA e9cd43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d4d23 - Browse repository at this point
Copy the full SHA 94d4d23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3672ecb - Browse repository at this point
Copy the full SHA 3672ecbView commit details -
milestone: passed new tests associated cross-interface feature
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fdbb206 - Browse repository at this point
Copy the full SHA fdbb206View commit details -
Configuration menu - View commit details
-
Copy full SHA for 437472d - Browse repository at this point
Copy the full SHA 437472dView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24c6a97 - Browse repository at this point
Copy the full SHA 24c6a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae9e57 - Browse repository at this point
Copy the full SHA 4ae9e57View commit details -
generate C files together with Go files
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 16c668e - Browse repository at this point
Copy the full SHA 16c668eView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18b1e4b - Browse repository at this point
Copy the full SHA 18b1e4bView commit details -
fix a typo in wit-bindgen-cli doc
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0942e7f - Browse repository at this point
Copy the full SHA 0942e7fView commit details -
updated README to include gen-guest-go
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ceef03 - Browse repository at this point
Copy the full SHA 3ceef03View commit details -
Merge remote-tracking branch 'upstream/main' into go-guest-new-2
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b0666c - Browse repository at this point
Copy the full SHA 0b0666cView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6667132 - Browse repository at this point
Copy the full SHA 6667132View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 471bd4a - Browse repository at this point
Copy the full SHA 471bd4aView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2264ca1 - Browse repository at this point
Copy the full SHA 2264ca1View commit details
Commits on Feb 2, 2023
-
free C parameters and variables
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5b9b59 - Browse repository at this point
Copy the full SHA a5b9b59View commit details -
removed memory free for return variables in export and invoke argumen…
…ts in import Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a80658 - Browse repository at this point
Copy the full SHA 3a80658View commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a611483 - Browse repository at this point
Copy the full SHA a611483View commit details -
Configuration menu - View commit details
-
Copy full SHA for c02d1f5 - Browse repository at this point
Copy the full SHA c02d1f5View commit details
Commits on Feb 4, 2023
-
fixed a small bug around lowering nested option types
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d1e179 - Browse repository at this point
Copy the full SHA 5d1e179View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f03936 - Browse repository at this point
Copy the full SHA 0f03936View commit details -
changed the variant's package name to the world's name.
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32690de - Browse repository at this point
Copy the full SHA 32690deView commit details -
milestone: re-implement results
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f18ffeb - Browse repository at this point
Copy the full SHA f18ffebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f93bb8 - Browse repository at this point
Copy the full SHA 4f93bb8View commit details -
re-implement variants and unions
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44ea554 - Browse repository at this point
Copy the full SHA 44ea554View commit details
Commits on Feb 5, 2023
-
fixed a few small bugs around variants and union types. Added variant…
… runtime tests Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d1b341 - Browse repository at this point
Copy the full SHA 3d1b341View commit details -
turn off gc-leaking in tinygo 0.26
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8abd2f1 - Browse repository at this point
Copy the full SHA 8abd2f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f75488 - Browse repository at this point
Copy the full SHA 8f75488View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7e570 - Browse repository at this point
Copy the full SHA dd7e570View commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0e3156c - Browse repository at this point
Copy the full SHA 0e3156cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e269f4 - Browse repository at this point
Copy the full SHA 0e269f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b13a81e - Browse repository at this point
Copy the full SHA b13a81eView commit details -
removed http from runtime test
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d8b9c4 - Browse repository at this point
Copy the full SHA 4d8b9c4View commit details
Commits on Feb 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cd91d6b - Browse repository at this point
Copy the full SHA cd91d6bView commit details
Commits on Feb 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56e31fd - Browse repository at this point
Copy the full SHA 56e31fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c8568e - Browse repository at this point
Copy the full SHA 1c8568eView commit details
Commits on Feb 13, 2023
-
updated tinygo to 0.27. All tests should pass now
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec22316 - Browse repository at this point
Copy the full SHA ec22316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1356b48 - Browse repository at this point
Copy the full SHA 1356b48View commit details -
fixed go version to 1.20 instead of 1.2
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a46da7e - Browse repository at this point
Copy the full SHA a46da7eView commit details -
disable string test because unicode hasn't been handled properly
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68941e7 - Browse repository at this point
Copy the full SHA 68941e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d1d4bc - Browse repository at this point
Copy the full SHA 6d1d4bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f3ee8d - Browse repository at this point
Copy the full SHA 9f3ee8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a49639 - Browse repository at this point
Copy the full SHA 1a49639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 423ff21 - Browse repository at this point
Copy the full SHA 423ff21View commit details -
move C gen files to its own folder
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c03f2ab - Browse repository at this point
Copy the full SHA c03f2abView commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b34388 - Browse repository at this point
Copy the full SHA 0b34388View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d68011 - Browse repository at this point
Copy the full SHA 7d68011View commit details -
changed tinygo crate version to 0.1.0
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ae1800 - Browse repository at this point
Copy the full SHA 5ae1800View commit details -
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 860e666 - Browse repository at this point
Copy the full SHA 860e666View commit details
Commits on Feb 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1080c91 - Browse repository at this point
Copy the full SHA 1080c91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a4113 - Browse repository at this point
Copy the full SHA 12a4113View commit details
Commits on Feb 15, 2023
-
Fix referring to foreign imported paths in go
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5ca174 - Browse repository at this point
Copy the full SHA b5ca174View commit details -
disable lift-foreign tests for now
Signed-off-by: Jiaxiao Zhou <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 572d8ee - Browse repository at this point
Copy the full SHA 572d8eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b00661f - Browse repository at this point
Copy the full SHA b00661fView commit details