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

Different linker project-wise #79

Closed
frederikhors opened this issue Mar 22, 2024 · 1 comment
Closed

Different linker project-wise #79

frederikhors opened this issue Mar 22, 2024 · 1 comment

Comments

@frederikhors
Copy link

In the linker section you're not mentioning the way of using a different linker project-wise:

From: rust-lang/rust#71520 (comment):

Create a config.toml file in your project directory.
In the file put linker = "rust-lld" under your target.

In case of Windows it's:

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"

What do you think?

@nnethercote
Copy link
Owner

Thanks for the suggestion. I think I will leave this unchanged. There are several similar cases in the same chapter. In each case I have a link to https://doc.rust-lang.org/cargo/reference/config.html, but I don't want every time to repeat all the details of how config.toml works.

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

No branches or pull requests

2 participants