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

Document static linking with musl #27193

Merged
merged 5 commits into from
Jul 24, 2015

Conversation

aidanhs
Copy link
Member

@aidanhs aidanhs commented Jul 21, 2015

Continuation of #25685.

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(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
Copy link
Member

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

@steveklabnik
Copy link
Member

I have a bunch of nitpicks, but thanks so much for writing this up!

@aidanhs aidanhs force-pushed the aphs-advanced-linking-doc branch from 4068d72 to 844d81a Compare July 21, 2015 18:21
@aidanhs
Copy link
Member Author

aidanhs commented Jul 21, 2015

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*dependent

@aidanhs aidanhs force-pushed the aphs-advanced-linking-doc branch from 844d81a to 231438a Compare July 21, 2015 20:12
@alexcrichton
Copy link
Member

@bors: r+ 231438a rollup

Nice!

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jul 21, 2015
your own version of Rust with `musl` enabled and install it into a custom
directory with the instructions below:

```
Copy link
Contributor

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.

@steveklabnik
Copy link
Member

@bors: r-

@steveklabnik
Copy link
Member

minusing this one until we fix the issues, we'll get it in soon!

@aidanhs aidanhs force-pushed the aphs-advanced-linking-doc branch from 231438a to b6a0d9e Compare July 22, 2015 17:15
@aidanhs
Copy link
Member Author

aidanhs commented Jul 22, 2015

Added 'text' to code blocks.

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Jul 22, 2015

📌 Commit b6a0d9e has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 23, 2015
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Jul 24, 2015
bors added a commit that referenced this pull request Jul 24, 2015
@bors bors merged commit b6a0d9e into rust-lang:master Jul 24, 2015
@aidanhs
Copy link
Member Author

aidanhs commented Jul 25, 2015

Hooray! Thanks all for the help with this.

@aidanhs aidanhs deleted the aphs-advanced-linking-doc branch July 25, 2015 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants