Skip to content

Commit

Permalink
change variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Mar 24, 2024
1 parent 12bb043 commit a35aa22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_system/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::path::Path;
struct BuildArg {
flags: Vec<String>,
config_info: ConfigInfo,
sys_root: bool,
sysroot: bool,
}

impl BuildArg {
Expand All @@ -31,7 +31,7 @@ impl BuildArg {
}
}
"--sysroot" => {
arg.sys_root = true;
arg.sysroot = true;
}
"--help" => {
Self::usage();
Expand Down Expand Up @@ -224,7 +224,7 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> {
})?;

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

0 comments on commit a35aa22

Please sign in to comment.