Merge commit '09fae60a86
' into sync_cg_clif-2024-03-28
This commit is contained in:
commit
987ed345af
24 changed files with 840 additions and 291 deletions
|
@ -26,9 +26,10 @@ fn main() {
|
|||
codegen_backend_arg.push(cg_clif_dylib_path);
|
||||
args.push(codegen_backend_arg);
|
||||
}
|
||||
if !passed_args.iter().any(|arg| {
|
||||
arg == "--sysroot" || arg.to_str().is_some_and(|s| s.starts_with("--sysroot="))
|
||||
}) {
|
||||
if !passed_args
|
||||
.iter()
|
||||
.any(|arg| arg == "--sysroot" || arg.to_str().is_some_and(|s| s.starts_with("--sysroot=")))
|
||||
{
|
||||
args.push(OsString::from("--sysroot"));
|
||||
args.push(OsString::from(sysroot.to_str().unwrap()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue