Skip to content

Commit 01fc8d1

Browse files
committed
indicate that async-trait-function.wit-no-std works for Rust
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
1 parent fb93a87 commit 01fc8d1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crates/test/src/rust.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ impl LanguageMethods for Rust {
6161
args: &[String],
6262
) -> bool {
6363
// no_std doesn't currently work with async
64-
if config.async_ && args.iter().any(|s| s == "--std-feature") {
64+
if config.async_
65+
&& args.iter().any(|s| s == "--std-feature")
66+
// Except this one actually _does_ work:
67+
&& name != "async-trait-function.wit-no-std"
68+
{
6569
return true;
6670
}
6771

0 commit comments

Comments
 (0)