forked from bytecodealliance/wit-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge with upstream #24
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This adds in the package name in addition to the world name in the custom section for Rust code that has the component type information within it. This helps prevent clashes between worlds of the same name. Closes bytecodealliance#975
Currently enumerations in the generated rust bindings are not ordered, and can only be compared by equality. This patch adds the `PartialOrd` and `Ord` derives to generated enums.
`size_t` is used in the generated C headers, but is not guaranteed by the standard to be defined in either the `stdint.h` or `stdbool.h` headers that are unconditionally generated. This patch adds an unconditional include to `stddef.h` to address compile issues on certain standard libraries.
* feat: initial commit for moonbit * feat(moonbit): use teavm-java as reference * feat(moonbit): convert some types * feat(moonbit): type enum/variant + cleanup result/tuple * feat(moonbit): type record * fix(moonbit): interface generation * feat(moonbit): clean up interface generator * feat(moonbit): add test and start bindgen * feat(moonbit): wip, bindgen * fix(moonbit): array api * feat(moonbit): adjust test output * feat(moonbit): partial support for lower/lift enum/variant * fix(moonbit): variant cases * misc(moonbit): small rewrites * feat(moonbit): add exportation * fix(moonbit): cleanup return area * feat(moonbit): reorganize generated directory structure fix(moonbit): char conversion and previous bug * feat(moonbit): lower / lift string * fix(moonbit): typo * feat(moonbit): fix qualifier and cleanup directory structure * fix(moonbit): attemp to fix qualifier issue * fix(moonbit): misimplemented instructions * refactor(moonbit): flag representation * fix(moonbit): variant and tuple and release all tests * feat(moonbit): add resource support * fix(moonbit): generation for Option and others * refactor(moonbit): improve generated code * fix(moonbit): add keywords * refactor(moonbit): merge contructor name and type name * fix(moonbit): forgotten import * fix(moonbit): forgotten keywords * refactor(moonbit): move exportations * refactor(moonbit): reorganize files and fix imports * refactor(moonbit): move exportations to gen * fix(moonbit): flag support * fix(moonbit): world type import/export * fix(moonbit): qualifier related issues * refactor(moonbit): cleanup to make logic clear and robust * fix(moonbit): configuration mistake * cleanup: remove warnings * fix(moonbit): configuration and local conflicts * fix(moonbit): separate export and import types * fix(moonbit): pass all tests * fix(moonbit): add resource-drop, cabi-realloc and order imports and docs * misc(moonbit): modify naming convention * feat(moonbit): add derive show option * misc(moonbit): update generated package name and generate doc * fix(moonbit): string length should be char number * misc(moonbit): naming convention * ci(moonbit): add test ci for moonbit * misc(moonbit): change representation for u16 * fix: abi change * misc(moonbit): moon-bit -> moonbit * feat(moonbit): derive eq * misc(moonbit): avoid builtin type names * feat(moonbit): lower and lift string * misc(moonbit): adjust heap start address * feat(moonbit): lower lift bytes * feat(moonbit): wip add core f32 support * fix(moonbit): keyword update * fix(moonbit): reserve space * misc(moonbit): replace inline wasm with builtin functions * feat(moonbit): lift/lower array * ci(moonbit): use powershell for windows installation * misc(moonbit): fix preamble * misc(moonbit): add todo for future work * refactor(moonbit): split stub file * fix(moonbit): allocate return area for exportation functions * misc(moonbit): add documentation * misc(moonbit): ignore stub file option * fix(moonbit): ci check * fix(moonbit): separate ffi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.