Skip to content

Commit be1da13

Browse files
add ignores for wit test to cpp and go
1 parent 2114f5c commit be1da13

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

crates/test/src/cpp.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ impl LanguageMethods for Cpp {
4545
config: &crate::config::WitConfig,
4646
_args: &[String],
4747
) -> bool {
48+
// Compiles on C++ despite the blanket async exclusion below.
49+
if name == "issue-1598.wit" {
50+
return false;
51+
}
4852
return match name {
4953
"issue1514-6.wit" | "named-fixed-length-list.wit" | "map.wit" => true,
5054
_ => false,

crates/test/src/go.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ impl LanguageMethods for Go {
3030
config.error_context
3131
|| name == "async-trait-function.wit"
3232
|| name == "named-fixed-length-list.wit"
33+
|| name == "issue-1598.wit"
3334
}
3435

3536
fn default_bindgen_args_for_codegen(&self) -> &[&str] {

0 commit comments

Comments
 (0)