Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmurph32 committed Jul 2, 2024
1 parent 51d5166 commit ac03f95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/test-programs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub mod nn;
pub mod preview1;
pub mod sockets;

wit_bindgen::generate!("test-command" in "../wasi/wit");
wit_bindgen::generate!("test-command" in "../wasi/wit", features: ["clocks-timezone"]);

pub mod proxy {
wit_bindgen::generate!({
Expand All @@ -15,5 +15,6 @@ pub mod proxy {
"wasi:http/[email protected]": crate::wasi::http::types,
"wasi:http/[email protected]": crate::wasi::http::outgoing_handler,
},
features: ["clocks-timezone"],
});
}
2 changes: 2 additions & 0 deletions crates/wasi-http/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ mod generated {
trappable_error_type: {
"wasi:http/types/error-code" => crate::HttpError,
},
features: ["clocks-timezone"],
});
}

Expand All @@ -64,6 +65,7 @@ pub mod sync {
"wasi": wasmtime_wasi::bindings, // everything else
},
require_store_data_send: true,
features: ["clocks-timezone"],
});
}

Expand Down

0 comments on commit ac03f95

Please sign in to comment.