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

integration-test: Prefer system-wide lld over rust-lld #908

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

Commits on Mar 13, 2024

  1. integration-test: Prefer system-wide lld over rust-lld

    rust-lld is unaware of system libraries and seems like there is no way
    to point it to them. That often triggers issues like:
    
    ```
    cargo:warning=error: linking with `rust-lld` failed: exit status: 1ger, ppv-lite86, libc...
    cargo:warning=  |
    cargo:warning=  = note: LC_ALL="C" PATH="/home/vadorovsky/.rustup/toolchains/stable-x86_64-un
    cargo:warning=  = note: rust-lld: error: unable to find library -lgcc_s
    cargo:warning=          rust-lld: error: unable to find library -lc
    cargo:warning=
    cargo:warning=
    cargo:warning=
    cargo:warning=error: aborting due to 1 previous error
    ```
    
    Using system-wide LLD makes the issue disappear.
    
    Fixes aya-rs#907
    vadorovsky committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    3c4f45c View commit details
    Browse the repository at this point in the history