Skip to content

Commit ac03f95

Browse files
committed
WIP
1 parent 51d5166 commit ac03f95

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/test-programs/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pub mod nn;
33
pub mod preview1;
44
pub mod sockets;
55

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

88
pub mod proxy {
99
wit_bindgen::generate!({
@@ -15,5 +15,6 @@ pub mod proxy {
1515
"wasi:http/[email protected]": crate::wasi::http::types,
1616
"wasi:http/[email protected]": crate::wasi::http::outgoing_handler,
1717
},
18+
features: ["clocks-timezone"],
1819
});
1920
}

crates/wasi-http/src/bindings.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ mod generated {
3838
trappable_error_type: {
3939
"wasi:http/types/error-code" => crate::HttpError,
4040
},
41+
features: ["clocks-timezone"],
4142
});
4243
}
4344

@@ -64,6 +65,7 @@ pub mod sync {
6465
"wasi": wasmtime_wasi::bindings, // everything else
6566
},
6667
require_store_data_send: true,
68+
features: ["clocks-timezone"],
6769
});
6870
}
6971

0 commit comments

Comments
 (0)