Skip to content

Commit

Permalink
snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
  • Loading branch information
dicej committed Feb 16, 2024
1 parent 67b0f46 commit 62df2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl InterfaceGenerator<'_> {
if let Some(suffix) = self.gen.opts.isyswasfa.clone() {
if func.name == format!("isyswasfa-poll{suffix}") {
self.src.push_str("{ isyswasfa_guest::poll(input) }\n");
} else if let Some(prefix) = func.name.strip_suffix("-isyswasfa") {
} else if let Some(prefix) = func.name.strip_suffix("-isyswasfa-start") {
let sig = FnSig {
async_: true,
..sig.clone()
Expand Down

0 comments on commit 62df2d0

Please sign in to comment.