You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C#: Add implementation for lowering and lifiting flags (#800)
* implement flags for c# as enums
* remove dead code, fix lowering for >32 bit flags
* add documentation for testing single wit fiel
* change enum type to be shortest to match flags length
Copy file name to clipboardExpand all lines: tests/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,12 @@ To run just `codegen` tests for a single language (replace rust with language of
25
25
cargo test -p wit-bindgen-rust
26
26
```
27
27
28
+
To run just `codegen` tests for a single language (replace rust with language of choice: `go`, `c`, `csharp`, etc.) and a single wit file (replace `flags` with whatever wit file should be tested):
29
+
30
+
```
31
+
cargo test -p wit-bindgen-rust -- flags
32
+
```
33
+
28
34
To run just `runtime` tests for a single language (replace rust with language of choice: `go`, `c`, `csharp`, etc.):
29
35
30
36
```bash
@@ -57,6 +63,7 @@ wasm and executed on hosts. The code compiled-to-wasm can be one of:
57
63
*`wasm.rs` - compiled with Rust to WebAssembly
58
64
*`wasm.c` - compiled with Clang
59
65
*`wasm.java` - compiled with TeaVM-WASI
66
+
*`wasm.cs` - compiled with NativeAOT and Mono
60
67
61
68
Existence of these files indicates that the language should be supported for the
62
69
test, and if a file is missing then it's skipped when running other tests. Each
0 commit comments