Enable compilers other than gcc (#6)

issue: #1
Reviewed-on: http://192.168.1.227:3000/sfrembling/pallet/pulls/6
Co-authored-by: godsfryingpan <sfrembling@gmail.com>
Co-committed-by: godsfryingpan <sfrembling@gmail.com>
This commit was merged in pull request #6.
This commit is contained in:
2026-03-23 10:08:35 -06:00
committed by sfrembling
parent 02009762c1
commit 49eaf6dbfc
2 changed files with 3 additions and 1 deletions

View File

@@ -274,7 +274,7 @@ fn build(mode: &Option<String>, force_recompile: bool) -> std::io::Result<()> {
}
}
let mut command = Command::new("gcc");
let mut command = Command::new(conf.compiler.as_deref().unwrap_or("gcc"));
for arg in &build_config.args {
command.arg(arg);