forked from theseus-os/Theseus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle crates whose compilation results in multiple object f…
…iles (theseus-os#517) * Some crates have build scripts that generate multiple arbitrary object files, such as those compiled from external C code. In these cases, those crates' `.rlib` archives will have more content than their rustc-emitted `.o` object files, which leads to missing symbols at load time. * One important example of this is the `wasmtime-runtime` crate, which builds a `helpers.o` file that is only included in the `.rlib`, not its emitted `.o` file. * Note: this may actually allow us to use multiple codegen units too, in the future. That rustc feature has been disabled for several years now.
- Loading branch information
1 parent
9ae6395
commit 2b1d624
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters