Skip to content

Commit 47a62ea

Browse files
lqddavidtwco
andcommitted
Apply suggestions from code review
Co-authored-by: David Wood <[email protected]>
1 parent 51a0e16 commit 47a62ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

posts/2024-05-01-enabling-rust-lld-on-linux.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: Faster linking times on nightly on linux with `rust-lld`
3+
title: Faster linking times on nightly on Linux using `rust-lld`
44
author: Rémy Rakic
55
team: the compiler performance working group <https://www.rust-lang.org/governance/teams/compiler#team-wg-compiler-performance>
66
---
@@ -17,14 +17,14 @@ changed on the command-line or by the target for which the code is compiled).
1717
The linkers do an important job, with concerns about stability, backwards-compatibility and so on.
1818
For these and other reasons, on the most popular operating systems they usually are older programs,
1919
designed when computers only had a single core. So, they usually tend to be slow on a modern
20-
machine. For example, when building ripgrep 13 in debug mode on linux, roughly half of the time is
20+
machine. For example, when building ripgrep 13 in debug mode on Linux, roughly half of the time is
2121
actually spent in the linker.
2222

2323
There are different linkers, however, and the usual advice to improve linking times is to use one of
2424
these newer and faster linkers, like LLVM's [`lld`](https://lld.llvm.org/) or Rui Ueyama's
2525
[`mold`](https://github.com/rui314/mold).
2626

27-
Some of rust's wasm and aarch64 targets already use `lld` by default. When using rustup, rustc ships
27+
Some of Rust's wasm and aarch64 targets already use `lld` by default. When using rustup, rustc ships
2828
with a version of `lld` for this purpose. When CI builds LLVM to use in the compiler, it also builds
2929
the linker and packages it. It's referred to as `rust-lld` to avoid colliding with any `lld` already
3030
installed on the user's machine.

0 commit comments

Comments
 (0)