File tree 6 files changed +47
-49
lines changed
gen-guest-teavm-java/tests
gen-host-wasmtime-py/tests
gen-host-wasmtime-rust/tests
6 files changed +47
-49
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,27 @@ use std::env;
2
2
use std:: path:: { Path , PathBuf } ;
3
3
use std:: process:: Command ;
4
4
5
+ #[ rustfmt:: skip]
5
6
mod imports {
6
7
test_helpers:: codegen_c_import!(
7
8
"*.wit"
8
9
9
- // TODO: implement async support
10
- "!async-functions.wit"
10
+ // If you want to exclude a specific test you can include it here with
11
+ // gitignore glob syntax:
12
+ //
13
+ // "!wasm.wit"
14
+ // "!host.wit"
15
+ //
16
+ //
17
+ // Similarly you can also just remove the `*.wit` glob and list tests
18
+ // individually if you're debugging.
11
19
) ;
12
20
}
13
21
22
+ #[ rustfmt:: skip]
14
23
mod exports {
15
24
test_helpers:: codegen_c_export!(
16
25
"*.wit"
17
-
18
- // TODO: implement async support
19
- "!async-functions.wit"
20
-
21
- // TODO: these use push/pull buffer in exports which isn't implemented
22
- // yet
23
- "!wasi-next.wit"
24
- "!host.wit"
25
26
) ;
26
27
}
27
28
Original file line number Diff line number Diff line change @@ -20,13 +20,9 @@ mod imports {
20
20
) ;
21
21
}
22
22
23
+ #[ rustfmt:: skip]
23
24
mod exports {
24
25
test_helpers:: codegen_rust_wasm_export!(
25
26
"*.wit"
26
-
27
- // TODO: these use push/pull buffer which isn't implemented in the test
28
- // generator just yet
29
- "!wasi-next.wit"
30
- "!host.wit"
31
27
) ;
32
28
}
Original file line number Diff line number Diff line change 1
1
use heck:: { ToSnakeCase , ToUpperCamelCase } ;
2
2
use std:: { fs, path:: Path , process:: Command } ;
3
3
4
+ #[ rustfmt:: skip]
4
5
mod imports {
5
6
test_helpers:: codegen_teavm_java_import!(
6
7
"*.wit"
7
8
8
- // TODO: implement async and resource support
9
- "!async-functions.wit"
10
- "!resource.wit"
9
+ // If you want to exclude a specific test you can include it here with
10
+ // gitignore glob syntax:
11
+ //
12
+ // "!wasm.wit"
13
+ // "!host.wit"
14
+ //
15
+ //
16
+ // Similarly you can also just remove the `*.wit` glob and list tests
17
+ // individually if you're debugging.
11
18
) ;
12
19
}
13
20
21
+ #[ rustfmt:: skip]
14
22
mod exports {
15
23
test_helpers:: codegen_teavm_java_export!(
16
24
"*.wit"
17
-
18
- // TODO: implement async and resource support
19
- "!async-functions.wit"
20
- "!resource.wit"
21
25
) ;
22
26
}
23
27
Original file line number Diff line number Diff line change 1
1
use std:: path:: Path ;
2
2
use std:: process:: Command ;
3
3
4
+ #[ rustfmt:: skip]
4
5
mod exports {
5
6
test_helpers:: codegen_js_export!(
6
- // ...
7
7
"*.wit"
8
+
9
+ // If you want to exclude a specific test you can include it here with
10
+ // gitignore glob syntax:
11
+ //
12
+ // "!wasm.wit"
13
+ // "!host.wit"
14
+ //
15
+ //
16
+ // Similarly you can also just remove the `*.wit` glob and list tests
17
+ // individually if you're debugging.
8
18
) ;
9
19
}
10
20
21
+ #[ rustfmt:: skip]
11
22
mod imports {
12
23
test_helpers:: codegen_js_import!(
13
24
"*.wit"
14
-
15
- // This uses buffers, which we don't support in imports just yet
16
- // TODO: should support this
17
- "!wasi-next.wit"
18
- "!host.wit"
19
25
) ;
20
26
}
21
27
Original file line number Diff line number Diff line change 1
1
use std:: path:: Path ;
2
2
use std:: process:: Command ;
3
3
4
+ #[ rustfmt:: skip]
4
5
mod exports {
5
6
test_helpers:: codegen_py_export!(
6
7
"*.wit"
7
8
8
- // TODO: implement async support
9
- "!async-functions.wit"
9
+ // If you want to exclude a specific test you can include it here with
10
+ // gitignore glob syntax:
11
+ //
12
+ // "!wasm.wit"
13
+ // "!host.wit"
14
+ //
15
+ //
16
+ // Similarly you can also just remove the `*.wit` glob and list tests
17
+ // individually if you're debugging.
10
18
) ;
11
19
}
12
20
21
+ #[ rustfmt:: skip]
13
22
mod imports {
14
23
test_helpers:: codegen_py_import!(
15
24
"*.wit"
16
-
17
- // TODO: implement async support
18
- "!async-functions.wit"
19
-
20
- // This uses buffers, which we don't support in imports just yet
21
- // TODO: should support this
22
- "!wasi-next.wit"
23
- "!host.wit"
24
25
) ;
25
26
}
26
27
Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ mod exports {
9
9
test_helpers:: codegen_wasmtime_export!(
10
10
"*.wit"
11
11
12
- // TODO: implement async support
13
- "!async-functions.wit"
14
-
15
12
// If you want to exclude a specific test you can include it here with
16
13
// gitignore glob syntax:
17
14
//
@@ -24,17 +21,10 @@ mod exports {
24
21
) ;
25
22
}
26
23
24
+ #[ rustfmt:: skip]
27
25
mod imports {
28
26
test_helpers:: codegen_wasmtime_import!(
29
27
"*.wit"
30
-
31
- // TODO: implement async support
32
- "!async-functions.wit"
33
-
34
- // TODO: these use push/pull buffer which isn't implemented in the test
35
- // generator just yet
36
- "!wasi-next.wit"
37
- "!host.wit"
38
28
) ;
39
29
}
40
30
You can’t perform that action at this time.
0 commit comments