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