@@ -297,6 +297,8 @@ pub struct BuildOpts {
297297 pub tests : bool ,
298298 /// The set of options to filter by member project kind.
299299 pub member_filter : MemberFilter ,
300+ /// Enable the experimental storage implementation and UI.
301+ pub experimental_storage : bool ,
300302}
301303
302304/// The set of options to filter type of projects to build in a workspace.
@@ -1510,7 +1512,8 @@ pub fn sway_build_config(
15101512 . print_finalized_asm ( build_profile. print_finalized_asm )
15111513 . print_intermediate_asm ( build_profile. print_intermediate_asm )
15121514 . print_ir ( build_profile. print_ir )
1513- . include_tests ( build_profile. include_tests ) ;
1515+ . include_tests ( build_profile. include_tests )
1516+ . experimental_storage ( build_profile. experimental_storage ) ;
15141517 Ok ( build_config)
15151518}
15161519
@@ -1952,6 +1955,7 @@ fn build_profile_from_opts(
19521955 time_phases,
19531956 tests,
19541957 error_on_warnings,
1958+ experimental_storage,
19551959 ..
19561960 } = build_options;
19571961 let mut selected_build_profile = BuildProfile :: DEBUG ;
@@ -1997,6 +2001,7 @@ fn build_profile_from_opts(
19972001 profile. include_tests |= tests;
19982002 profile. json_abi_with_callpaths |= pkg. json_abi_with_callpaths ;
19992003 profile. error_on_warnings |= error_on_warnings;
2004+ profile. experimental_storage |= experimental_storage;
20002005
20012006 Ok ( ( selected_build_profile. to_string ( ) , profile) )
20022007}
0 commit comments