update and fix the linker (#140)

This commit is contained in:
Cyrill Leutwiler authored and GitHub committed 2024-12-18 23:11:06 +01:00
1 parent 22070a824d
commit 3f9771f838
9 files changed
+410 -494

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ pub fn link<T: AsRef<[u8]>>(input: T) -> anyhow::Result<Vec<u8>> {
"--relocatable",
"--emit-relocs",
"--no-relax",
"--unique",
"--gc-sections",
"--library-path",
dir.path().to_str().expect("should be utf8"),