Skip to content

Commit d524d8c

Browse files
committed
temporarily skip async codegen tests for Go
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
1 parent ef84418 commit d524d8c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

crates/test/src/go.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ impl LanguageMethods for Go {
2222
config: &crate::config::WitConfig,
2323
_args: &[String],
2424
) -> bool {
25-
config.error_context
25+
// TODO: We _do_ support async, but only with a build of Go that has
26+
// [this
27+
// patch](https://github.com/dicej/go/commit/a1c83220fc9576cdb810e9624366cb998e69b22b).
28+
// Once we either publish builds containing that patch or upstream
29+
// something equivalent, we can remove the ` || config.async_` here.
30+
config.error_context || config.async_
2631
}
2732

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

0 commit comments

Comments
 (0)