File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,20 +27,23 @@ pub struct Target {
2727}
2828
2929#[ derive( Debug , Deserialize , Serialize , PartialEq ) ]
30+ #[ serde( rename_all = "kebab-case" ) ]
3031pub struct TargetOptions {
32+ #[ serde( flatten) ]
3133 pub walltime : Option < WalltimeOptions > ,
3234}
3335
3436/// Root-level options that apply to all benchmark runs unless overridden by CLI
3537#[ derive( Debug , Deserialize , Serialize , PartialEq ) ]
3638#[ serde( rename_all = "kebab-case" ) ]
3739pub struct ProjectOptions {
38- /// Walltime execution configuration
39- pub walltime : Option < WalltimeOptions > ,
4040 /// Working directory where commands will be executed (relative to config file)
4141 pub working_directory : Option < String > ,
4242 /// Runner mode (walltime, memory, or simulation)
4343 pub mode : Option < RunnerMode > ,
44+ /// Walltime execution configuration (flattened)
45+ #[ serde( flatten) ]
46+ pub walltime : Option < WalltimeOptions > ,
4447}
4548
4649/// Walltime execution options matching WalltimeExecutionArgs structure
You can’t perform that action at this time.
0 commit comments