@@ -9,12 +9,9 @@ pub fn get_manifest() -> _rt::String {
99 unsafe {
1010 #[ cfg_attr( target_pointer_width = "64" , repr( align( 8 ) ) ) ]
1111 #[ cfg_attr( target_pointer_width = "32" , repr( align( 4 ) ) ) ]
12- struct RetArea (
13- [ :: core:: mem:: MaybeUninit < u8 > ; 2 * :: core:: mem:: size_of :: < * const u8 > ( ) ] ,
14- ) ;
15- let mut ret_area = RetArea (
16- [ :: core:: mem:: MaybeUninit :: uninit ( ) ; 2 * :: core:: mem:: size_of :: < * const u8 > ( ) ] ,
17- ) ;
12+ struct RetArea ( [ :: core:: mem:: MaybeUninit < u8 > ; 2 * :: core:: mem:: size_of :: < * const u8 > ( ) ] ) ;
13+ let mut ret_area =
14+ RetArea ( [ :: core:: mem:: MaybeUninit :: uninit ( ) ; 2 * :: core:: mem:: size_of :: < * const u8 > ( ) ] ) ;
1815 let ptr0 = ret_area. 0 . as_mut_ptr ( ) . cast :: < u8 > ( ) ;
1916 #[ cfg( target_arch = "wasm32" ) ]
2017 #[ link( wasm_import_module = "$root" ) ]
@@ -28,7 +25,9 @@ pub fn get_manifest() -> _rt::String {
2825 }
2926 unsafe { wit_import1 ( ptr0) } ;
3027 let l2 = * ptr0. add ( 0 ) . cast :: < * mut u8 > ( ) ;
31- let l3 = * ptr0. add ( :: core:: mem:: size_of :: < * const u8 > ( ) ) . cast :: < usize > ( ) ;
28+ let l3 = * ptr0
29+ . add ( :: core:: mem:: size_of :: < * const u8 > ( ) )
30+ . cast :: < usize > ( ) ;
3231 let len4 = l3;
3332 let bytes4 = _rt:: Vec :: from_raw_parts ( l2. cast ( ) , len4, len4) ;
3433 let result5 = _rt:: string_lift ( bytes4) ;
@@ -75,9 +74,7 @@ pub fn new_request(
7574 unsafe extern "C" fn wit_import1 ( _: i32 , _: i32 , _: i32 ) -> i32 {
7675 unreachable ! ( )
7776 }
78- let ret = unsafe {
79- wit_import1 ( ( & request) . take_handle ( ) as i32 , result0_0, result0_1)
80- } ;
77+ let ret = unsafe { wit_import1 ( ( & request) . take_handle ( ) as i32 , result0_0, result0_1) } ;
8178 unsafe { wasi:: http:: types:: IncomingRequest :: from_handle ( ret as u32 ) }
8279 }
8380}
@@ -8223,9 +8220,7 @@ macro_rules! __export_router_impl {
82238220#[ doc( inline) ]
82248221pub ( crate ) use __export_router_impl as export;
82258222#[ cfg( target_arch = "wasm32" ) ]
8226- #[ unsafe(
8227- link_section = "component-type:wit-bindgen:0.41.0:fermyon:router:router:encoded world"
8228- ) ]
8223+ #[ unsafe( link_section = "component-type:wit-bindgen:0.41.0:fermyon:router:router:encoded world" ) ]
82298224#[ doc( hidden) ]
82308225#[ allow( clippy:: octal_escapes) ]
82318226pub static __WIT_BINDGEN_COMPONENT_TYPE: [ u8 ; 6758 ] = * b"\
0 commit comments