builder: retain Cargo config for run and correct acceptance checks

This commit is contained in:
2026-11-07 14:20:37 +00:00
parent e53211eff1
commit 7ee4059414
3 changed files with 19 additions and 13 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ impl WasiHttpHooks for Hooks {
if request.method() == http::Method::POST && request.uri().path() == "/cargo" {
return Ok((
crate::api::stream(&router, request),
Box::new(async { Ok(()) }),
Box::new(async { Ok(()) }) as Io,
));
}
return Ok(response(crate::api::handle(&router, caller, request).await));