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

Merge with upstream #24

Merged
merged 6 commits into from
Aug 16, 2024
Merged

Merge with upstream #24

merged 6 commits into from
Aug 16, 2024

Conversation

dhil
Copy link
Member

@dhil dhil commented Aug 16, 2024

No description provided.

alexcrichton and others added 6 commits August 13, 2024 00:55
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
@dhil dhil merged commit c86b26e into wasmfx:main Aug 16, 2024
27 checks passed
@dhil dhil deleted the wasmfx-merge branch August 16, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants