Merge remote-tracking branch 'origin/main' into roc-dev-inline-expects

This commit is contained in:
Folkert 2022-11-05 12:21:37 +01:00
commit 92cc120c7f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
150 changed files with 3480 additions and 2605 deletions

View file

@ -1607,7 +1607,7 @@ mod tests {
// we need to compile the app first
let output = std::process::Command::new(&zig)
.current_dir(dir)
.args(&[
.args([
"build-obj",
"app.zig",
"-fPIC",
@ -1647,7 +1647,7 @@ mod tests {
// now we can compile the host (it uses libapp.so, hence the order here)
let output = std::process::Command::new(&zig)
.current_dir(dir)
.args(&[
.args([
"build-exe",
"libapp.so",
"host.zig",
@ -1682,7 +1682,7 @@ mod tests {
std::fs::copy(&dir.join("preprocessedhost"), &dir.join("final")).unwrap();
surgery_elf(
&*roc_app,
&roc_app,
&dir.join("metadata"),
&dir.join("final"),
false,