1.65 changes and clippy fixes

This commit is contained in:
Anton-4 2023-01-17 18:09:16 +01:00
parent 8f62eeaf7e
commit a97c53d7ca
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
17 changed files with 37 additions and 19 deletions

View file

@ -314,7 +314,7 @@ fn gen_from_mono_module_llvm<'a>(
// different systems name this executable differently, so we shotgun for
// the most common ones and then give up.
let bc_to_object = Command::new("llc")
.args(&[
.args([
"-relocation-model=pic",
"-filetype=obj",
app_bc_file.to_str().unwrap(),
@ -370,7 +370,7 @@ fn gen_from_mono_module_llvm<'a>(
// different systems name this executable differently, so we shotgun for
// the most common ones and then give up.
let ll_to_object = Command::new("llc")
.args(&[
.args([
"-relocation-model=pic",
"-filetype=obj",
app_ll_dbg_file.to_str().unwrap(),