From cbd28191569af40bb393684610cf38e797a02ae6 Mon Sep 17 00:00:00 2001 From: lordforever Date: Wed, 10 Apr 2024 04:18:26 +0530 Subject: [PATCH] improvs --- build_system/src/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_system/src/build.rs b/build_system/src/build.rs index 7c93b5a7562..8725fa97c12 100644 --- a/build_system/src/build.rs +++ b/build_system/src/build.rs @@ -33,7 +33,7 @@ impl BuildArg { } } "--sysroot" => { - build_arg.build_sysroot = true; // Set the flag when --sysroot is encountered + build_arg.build_sysroot = true; } "--help" => { Self::usage(); @@ -211,7 +211,6 @@ fn build_codegen(args: &mut BuildArg) -> Result<(), String> { let gccjit_target = "target/out/gccjit"; create_dir(gccjit_target)?; if args.build_sysroot { - // Only call build_sysroot if the flag is set println!("[BUILD] sysroot"); build_sysroot(&env, &args.config_info)?; }