Skip to content

Commit be43637

Browse files
committed
change
1 parent e4e751c commit be43637

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/cargo/core/compiler/lto.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ use crate::util::interning::InternedString;
55
use crate::util::errors::CargoResult;
66
use std::collections::hash_map::{Entry, HashMap};
77

8-
/// LTO: Link Time Optimizations
9-
/// Possible ways to run rustc and request various parts of LTO.
8+
/// Possible ways to run rustc and request various parts of [LTO].
109
///
1110
/// Variant | Flag | Object Code | Bitcode
1211
/// -------------------|------------------------|-------------|--------
@@ -16,7 +15,7 @@ use std::collections::hash_map::{Entry, HashMap};
1615
/// `ObjectAndBitcode` | | ✓ | ✓
1716
/// `OnlyObject` | `-C embed-bitcode=no` | ✓ |
1817
///
19-
/// See <https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#lto>
18+
/// [LTO]: https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#lto
2019
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
2120
pub enum Lto {
2221
/// LTO is run for this rustc, and it's `-Clto=foo`. If the given value is

0 commit comments

Comments
 (0)