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

Parse object files with ElfFile64 rather than object::File #8593

Merged
merged 1 commit into from
May 14, 2024

Commits on May 10, 2024

  1. Parse object files with ElfFile64 rather than object::File

    The latter is what Wasmtime uses today but it pulls in parsers for all
    object formats supported by `object`. In the context of Wasmtime,
    however, we know that all objects produced are 64-bit ELF files so
    there's no need to pull in, for example, a COFF parser as that'll always
    return an error anyway. This commit switches uses of the `object::File`
    convenience to `ElfFile64` instead.
    alexcrichton committed May 10, 2024
    Configuration menu
    Copy the full SHA
    cf57747 View commit details
    Browse the repository at this point in the history