Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple object files as input #419

Merged
merged 8 commits into from
Jan 6, 2022
Prev Previous commit
Next Next commit
Make sure both instances of the temp use the variable
ghaith committed Dec 15, 2021
commit cfcb58e90eecc76327c6153d308798601fd12479
2 changes: 1 addition & 1 deletion tests/integration/linking.rs
Original file line number Diff line number Diff line change
@@ -236,7 +236,7 @@ fn link_missing_file() {

match res {
Err(err) => {
assert_eq!(Diagnostic::link_error(&format!("lld: error: undefined symbol: func2\n>>> referenced by main\n>>> {}:(func1)\n>>> did you mean: func1\n>>> defined in: /tmp/missing.o\n",out)), err);
assert_eq!(Diagnostic::link_error(&format!("lld: error: undefined symbol: func2\n>>> referenced by main\n>>> {}:(func1)\n>>> did you mean: func1\n>>> defined in: {}\n",out, out)), err);
}
_ => panic!("Expected link failure"),
}