Skip to content

Commit 82f949e

Browse files
committed
Revert "fix"
This reverts commit 98f4765.
1 parent c059820 commit 82f949e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cargo/core/compiler/lto.rs

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

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

0 commit comments

Comments
 (0)