Skip to content

Commit

Permalink
fix error with struct field call
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Mar 24, 2024
1 parent 151f761 commit 271e9e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_system/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl BuildArg {
}
}
"--sysroot" => {
args.sysroot = true;
build_arg.sysroot = true;
return Ok(None);
}
"--help" => {
Expand Down Expand Up @@ -225,7 +225,7 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> {
})?;

println!("[BUILD] sysroot");
if(args.sysroot){
if args.sysroot {
build_sysroot(&env, &args.config_info)?;
}
Ok(())
Expand Down

0 comments on commit 271e9e1

Please sign in to comment.