-
Notifications
You must be signed in to change notification settings - Fork 387
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
Is there a way config cross using lld
instead of ld
.
#1200
Comments
Sure! All that is needed is for you to install lld, and then use it as the linker
now, the tricky part is installing it, install it with # Cross.toml
[build]
pre-build = [
"apt-get update && apt-get install --assume-yes --no-install-recommends lld",
] You can also use |
But I am getting a error.
|
cross invokes cargo in a docker container, you can see how it's done by adding Did you install lld in the container? your third example block doesn't tell us anything, since the docker container wouldn't be able to access that lld |
|
I have configure a
|
I changed the command a little.
|
My network kind of slow,But should works fine. |
I switch to
|
@Emilgardis Can you look at it for me,Thanks.😊 |
The current default Ubuntu base image is using xenial and is too old to even have
This will use the image on |
@Emilgardis Actually I'm also hitting the user's original error:
Thankfully, it's super easy to reproduce:
I'm not super sure why this fails. It would be really neat if we'd be a able to use |
@svenstaro Thank, I have been busying these day,I will take a look when I have time. |
Any update? 😰 |
ld
is really slow.The text was updated successfully, but these errors were encountered: