File tree Expand file tree Collapse file tree 12 files changed +18
-24
lines changed Expand file tree Collapse file tree 12 files changed +18
-24
lines changed Original file line number Diff line number Diff line change 44
55fn main ( ) {
66 prpc_build:: configure ( )
7- . out_dir ( "./src/generated" )
7+ . out_dir ( std :: env :: var_os ( "OUT_DIR" ) . unwrap ( ) )
88 . mod_prefix ( "super::" )
99 . build_scale_ext ( false )
1010 . disable_package_emission ( )
Original file line number Diff line number Diff line change 1- pub use gateway :: * ;
1+ #! [ allow ( async_fn_in_trait ) ]
22
3- #[ allow( async_fn_in_trait) ]
4- mod gateway;
3+ include ! ( concat!( env!( "OUT_DIR" ) , "/gateway.rs" ) ) ;
Original file line number Diff line number Diff line change 44
55fn main ( ) {
66 prpc_build:: configure ( )
7- . out_dir ( "./src/generated" )
7+ . out_dir ( std :: env :: var_os ( "OUT_DIR" ) . unwrap ( ) )
88 . mod_prefix ( "super::" )
99 . build_scale_ext ( false )
1010 . disable_package_emission ( )
Original file line number Diff line number Diff line change 1- pub use dstack_guest :: * ;
1+ #! [ allow ( async_fn_in_trait ) ]
22
3- #[ allow( async_fn_in_trait) ]
4- mod dstack_guest;
3+ include ! ( concat!( env!( "OUT_DIR" ) , "/dstack_guest.rs" ) ) ;
Original file line number Diff line number Diff line change 44
55fn main ( ) {
66 prpc_build:: configure ( )
7- . out_dir ( "./src/generated" )
7+ . out_dir ( std :: env :: var_os ( "OUT_DIR" ) . unwrap ( ) )
88 . mod_prefix ( "super::" )
99 . build_scale_ext ( false )
1010 . disable_service_name_emission ( )
Original file line number Diff line number Diff line change 1- pub use guest_api :: * ;
1+ #! [ allow ( async_fn_in_trait ) ]
22
3- #[ allow( async_fn_in_trait) ]
4- mod guest_api;
3+ include ! ( concat!( env!( "OUT_DIR" ) , "/guest_api.rs" ) ) ;
Original file line number Diff line number Diff line change 44
55fn main ( ) {
66 prpc_build:: configure ( )
7- . out_dir ( "./src/generated" )
7+ . out_dir ( std :: env :: var_os ( "OUT_DIR" ) . unwrap ( ) )
88 . mod_prefix ( "super::" )
99 . build_scale_ext ( false )
1010 . disable_service_name_emission ( )
Original file line number Diff line number Diff line change 1- pub use host_api :: * ;
1+ #! [ allow ( async_fn_in_trait ) ]
22
3- #[ allow( async_fn_in_trait) ]
4- mod host_api;
3+ include ! ( concat!( env!( "OUT_DIR" ) , "/host_api.rs" ) ) ;
Original file line number Diff line number Diff line change 44
55fn main ( ) {
66 prpc_build:: configure ( )
7- . out_dir ( "./src/generated" )
7+ . out_dir ( std :: env :: var_os ( "OUT_DIR" ) . unwrap ( ) )
88 . mod_prefix ( "super::" )
99 . build_scale_ext ( false )
1010 . disable_package_emission ( )
Original file line number Diff line number Diff line change 1- pub use kms :: * ;
1+ #! [ allow ( async_fn_in_trait ) ]
22
3- #[ allow( async_fn_in_trait) ]
4- mod kms;
3+ include ! ( concat!( env!( "OUT_DIR" ) , "/kms.rs" ) ) ;
You can’t perform that action at this time.
0 commit comments