This is an issue to track the implementation progress of C# with the mono runtime as well as the Native ahead of time LLVM compiled implementation. - [x] Worlds - [x] Interfaces - [x] Functions - [x] Integers - [x] Floating point numbers - [x] Strings - [ ] Mono runtime tests - Dependent on (If we don't want to create 2 completely separate implementations to be able to support mono) https://github.com/dotnet/runtime/issues/86985 and https://github.com/dotnet/runtime/issues/86984 - [x] Native AoT LLVM runtime tests - [x] Results - https://github.com/bytecodealliance/wit-bindgen/pull/807 - [x] Options - [x] List - https://github.com/bytecodealliance/wit-bindgen/pull/807 - [x] Enum - [x] Records - [x] Flags - [x] Variants - https://github.com/bytecodealliance/wit-bindgen/pull/807 - [x] Tuples - [x] Resources - [x] Handles - [x] Static Functions - [x] Methods - [x] #1074 - [ ] #1073 - [x] Runtime tests - [x] Code Generation tests - [x] Enabled skipped tests in https://github.com/bytecodealliance/wit-bindgen/blob/5f903613cfb70364b89bbab92d62e85db16cf4e8/crates/csharp/tests/codegen.rs#L15 - bugs - [x] https://github.com/bytecodealliance/wit-bindgen/issues/777 - [x] https://github.com/bytecodealliance/wit-bindgen/issues/778 - [x] return pointer alignment - in some cases get error might be related to https://github.com/dotnet/runtimelab/pull/2531 (https://github.com/bytecodealliance/wit-bindgen/pull/807) - [x] #963 future work: - [ ] Streams - [ ] Integration with GC proposal. Related: https://github.com/WebAssembly/gc/issues/77, https://github.com/dotnet/runtime/issues/94420 - [ ] Exception handling https://github.com/WebAssembly/exception-handling/tree/master - [ ] Shared everything dynamic linking https://github.com/WebAssembly/component-model/blob/9c43f51ebf775e8397469a744d97c8575a7b7386/design/mvp/examples/SharedEverythingDynamicLinking.md Lower priority items: - [x] #1075 - [x] make options implementation use c# generics - Resolved in: https://github.com/bytecodealliance/wit-bindgen/pull/807 - [x] #1076 - [ ] #1077 - [ ] #1078 @yowl @jsturtevant @danbugs
This is an issue to track the implementation progress of C# with the mono runtime as well as the Native ahead of time LLVM compiled implementation.
[UnmanagedCallersOnly]dotnet/runtime#86985 and create WASM module import from any[DLLImport]which doesn't match known static native symbols dotnet/runtime#86984wit-bindgen/crates/csharp/tests/codegen.rs
Line 15 in 5f90361
<OutputType>Exe</OutputType>don't generatecabi_reallocwhen compiled #778variantsruntime test #963future work:
Lower priority items:
@yowl @jsturtevant @danbugs