File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,13 @@ impl LanguageMethods for Cpp {
4545 config : & crate :: config:: WitConfig ,
4646 _args : & [ String ] ,
4747 ) -> bool {
48+ // `issue-1598.wit` is `//@ async = true` but its codegen output
49+ // happens to compile under C++ even though the language doesn't
50+ // yet have general async support, so it must opt out of the
51+ // blanket async-rejects-verify rule below.
52+ if name == "issue-1598.wit" {
53+ return false ;
54+ }
4855 return match name {
4956 "issue1514-6.wit" | "named-fixed-length-list.wit" | "map.wit" => true ,
5057 _ => false ,
Original file line number Diff line number Diff 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 ] {
You can’t perform that action at this time.
0 commit comments