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

Always patch the interpreter of rustlib binaries #131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 24, 2024

  1. Always patch the interpreter of rustlib binaries

    When using `stable.toolchain`,
    `lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld` and other binaries
    in the same directory are not patched, so they do not work. I'm not sure
    exactly when Rust uses these, but it seems to break cross-compilation to
    `wasm32-unknown-unknown`.
    
    Fix it by generalizing the patching applied to the `rustc` component.
    Replace the glob with a `find` invocation to avoid errors on components
    that have a `lib` directory but no `lib/rustlib/*/bin`.
    marienz committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    00e362d View commit details
    Browse the repository at this point in the history