Skip to content

Commit 86ab4a0

Browse files
authored
word-wrap the comments.
1 parent cbb07c2 commit 86ab4a0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

compiler/rustc_target/src/spec/thumbv4t_none_eabi.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@
44
//!
55
//! Please ping @Lokathor if changes are needed.
66
//!
7-
//! This target profile assumes that you have the ARM binutils in your path (specifically the linker, `arm-none-eabi-ld`). They can be obtained for free for all major OSes from the ARM developer's website, and they may also be available in your system's package manager. Unfortunately, the standard linker that Rust uses (`lld`) only supports as far back as `ARMv5TE`, so we must use the GNU `ld` linker.
7+
//! This target profile assumes that you have the ARM binutils in your path
8+
//! (specifically the linker, `arm-none-eabi-ld`). They can be obtained for free
9+
//! for all major OSes from the ARM developer's website, and they may also be
10+
//! available in your system's package manager. Unfortunately, the standard
11+
//! linker that Rust uses (`lld`) only supports as far back as `ARMv5TE`, so we
12+
//! must use the GNU `ld` linker.
813
//!
9-
//! **Important:** This target profile **does not** specify a linker script. You just get the default link script when you build a binary for this target. The default link script is very likely wrong, so you should use `-Clink-arg=-Tmy_script.ld` to override that with a correct linker script.
14+
//! **Important:** This target profile **does not** specify a linker script. You
15+
//! just get the default link script when you build a binary for this target.
16+
//! The default link script is very likely wrong, so you should use
17+
//! `-Clink-arg=-Tmy_script.ld` to override that with a correct linker script.
1018
1119
use crate::spec::{cvs, LinkerFlavor, Target, TargetOptions};
1220

0 commit comments

Comments
 (0)