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

use LLD as the default linker #41

Merged
merged 7 commits into from
Aug 28, 2018
Merged

use LLD as the default linker #41

merged 7 commits into from
Aug 28, 2018

Conversation

japaric
Copy link
Member

@japaric japaric commented Aug 25, 2018

closes #39

I added instructions on how to switch to a different linker to .cargo/config but
I don't think that's too visible. Beginners are unlikely to look into that file
if they run into problems with the default linker. Any suggestions to improve
the visibility of that information?

Also, don't merge this until the default linker changes for the Cortex-M targets
on nightly as this relies on that change.

r? @rust-embedded/cortex-m

@japaric japaric requested a review from a team as a code owner August 25, 2018 17:35
therealprof
therealprof previously approved these changes Aug 25, 2018
Copy link
Contributor

@therealprof therealprof left a comment

Choose a reason for hiding this comment

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

Looks good to me. Also I have no idea how to improve visibility.

@driftregion
Copy link

driftregion commented Aug 26, 2018

Hi. I am a beginner. Thanks for working on this. I experienced the issue described in # 92 today.
I've been working from the cortex-m-quickstart docs. Step 5 describes editing .cargo/config. Perhaps the quickstart is a good place to mention this?

therealprof
therealprof previously approved these changes Aug 28, 2018
korken89
korken89 previously approved these changes Aug 28, 2018
@japaric
Copy link
Member Author

japaric commented Aug 28, 2018

bors r=therealprof,korken89

bors bot added a commit that referenced this pull request Aug 28, 2018
41: use LLD as the default linker r=therealprof,korken89 a=japaric

closes #39

I added instructions on how to switch to a different linker to .cargo/config but
I don't think that's too visible. Beginners are unlikely to look into that file
if they run into problems with the default linker. Any suggestions to improve
the visibility of that information?

Also, don't merge this until the default linker changes for the Cortex-M targets
on nightly as this relies on that change.

r? @rust-embedded/cortex-m

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
@bors
Copy link
Contributor

bors bot commented Aug 28, 2018

Build failed

@japaric japaric dismissed stale reviews from korken89 and therealprof via b89c76e August 28, 2018 12:57
@japaric
Copy link
Member Author

japaric commented Aug 28, 2018

Last commit should fix the build errors. re-r?

@therealprof
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Aug 28, 2018
41: use LLD as the default linker r=therealprof a=japaric

closes #39

I added instructions on how to switch to a different linker to .cargo/config but
I don't think that's too visible. Beginners are unlikely to look into that file
if they run into problems with the default linker. Any suggestions to improve
the visibility of that information?

Also, don't merge this until the default linker changes for the Cortex-M targets
on nightly as this relies on that change.

r? @rust-embedded/cortex-m

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
@bors
Copy link
Contributor

bors bot commented Aug 28, 2018

Build succeeded

@bors bors bot merged commit b89c76e into master Aug 28, 2018
@bors bors bot deleted the default-to-lld branch August 28, 2018 13:27
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.

[RFC] recommend rust-lld as the default linker
4 participants