Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: expanded broken merge #567

Merged
merged 1 commit into from
Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tmp/axum-wasm-expanded/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ crate-type = [ "cdylib" ]
# most axum features can be enabled, but "tokio" and "ws" depend on socket2
# via "hyper/tcp" which is not compatible with wasi
axum = { version = "0.6.0", default-features = false }
futures = "0.3.25"
futures-executor = "0.3.21"
http = "0.2.7"
tower-service = "0.3.1"
Expand Down
1 change: 1 addition & 0 deletions tmp/axum-wasm-expanded/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,5 @@ pub extern "C" fn __SHUTTLE_Axum_call(
// write body if there is one
if let Some(body) = futures_executor::block_on(body.data()) {
body_write_stream.write_all(body.unwrap().as_ref()).unwrap();
}
}