-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Document static linking with musl #27193
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
|
||
# Link args | ||
|
||
There is one other way to tell rustc how to customize linking, and that is via |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rustc should be in graves
I have a bunch of nitpicks, but thanks so much for writing this up! |
4068d72
to
844d81a
Compare
Think I got them all. |
(e.g. `libc` and `libm`) usually dynamically linked, but it is possible to | ||
change this and statically link them as well. | ||
|
||
Linking is a very platform dependant topic — on some platforms, static linking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*dependent
844d81a
to
231438a
Compare
…r=alexcrichton Continuation of rust-lang#25685.
your own version of Rust with `musl` enabled and install it into a custom | ||
directory with the instructions below: | ||
|
||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code block needs to be annotated so that it isn't compiled as Rust code. CC #27206.
@bors: r- |
minusing this one until we fix the issues, we'll get it in soon! |
231438a
to
b6a0d9e
Compare
Added 'text' to code blocks. |
@bors: r+ rollup |
📌 Commit b6a0d9e has been approved by |
…r=steveklabnik Continuation of rust-lang#25685.
…r=steveklabnik Continuation of rust-lang#25685.
Hooray! Thanks all for the help with this. |
Continuation of #25685.