Skip to content

Commit c94ed5c

Browse files
committed
Auto merge of #75436 - JohnTitor:rollup-ss0lxds, r=JohnTitor
Rollup of 9 pull requests Successful merges: - #74521 (older toolchains not valid anymore) - #74960 (Fix regionck failure when converting Index to IndexMut) - #75234 (Update asm! documentation in unstable book) - #75368 (Move to doc links inside the prelude) - #75371 (Move to doc links inside std/time.rs) - #75394 (Add a function to `TyCtxt` for computing an `Allocation` for a `static` item's initializer) - #75395 (Switch to intra-doc links in library/std/src/os/*/fs.rs) - #75422 (Accept more safety comments) - #75424 (fix wrong word in documentation) Failed merges: r? @ghost
2 parents 840dbe7 + 2cc7da6 commit c94ed5c

File tree

26 files changed

+155
-150
lines changed

26 files changed

+155
-150
lines changed

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<a href = "https://www.rust-lang.org/">
1+
<a href = "https://www.rust-lang.org/">
22
<img width = "90%" height = "auto" src = "https://img.shields.io/badge/Rust-Programming%20Language-black?style=flat&logo=rust" alt = "The Rust Programming Language">
33
</a>
44

55
This is the main source code repository for [Rust]. It contains the compiler,
6-
standard library, and documentation.
6+
standard library, and documentation.
77

88
[Rust]: https://www.rust-lang.org
99

@@ -23,7 +23,7 @@ Read ["Installation"] from [The Book].
2323
section.**
2424

2525
The Rust build system uses a Python script called `x.py` to build the compiler,
26-
which manages the bootstrapping process. More information about it can be found
26+
which manages the bootstrapping process. More information about it can be found
2727
by running `./x.py --help` or reading the [rustc dev guide][rustcguidebuild].
2828

2929
[gettingstarted]: https://rustc-dev-guide.rust-lang.org/getting-started.html
@@ -157,17 +157,6 @@ by manually calling the appropriate vcvars file before running the bootstrap.
157157
> python x.py build
158158
```
159159
160-
### Building rustc with older host toolchains
161-
It is still possible to build Rust with the older toolchain versions listed below, but only if the
162-
LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN option is set to true in the config.toml file.
163-
164-
* Clang 3.1
165-
* Apple Clang 3.1
166-
* GCC 4.8
167-
* Visual Studio 2015 (Update 3)
168-
169-
Toolchain versions older than what is listed above cannot be used to build rustc.
170-
171160
#### Specifying an ABI
172161
173162
Each specific ABI can also be used from either environment (for example, using

library/alloc/src/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
//! println!("{}, `{name:>8.*}` has 3 right-aligned characters", "Hello", 3, name="1234.56");
240240
//! ```
241241
//!
242-
//! print two significantly different things:
242+
//! print three significantly different things:
243243
//!
244244
//! ```text
245245
//! Hello, `1234.560` has 3 fractional digits

library/std/src/os/android/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::android::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

library/std/src/os/dragonfly/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::dragonfly::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

library/std/src/os/emscripten/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::emscripten::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

library/std/src/os/freebsd/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::freebsd::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

library/std/src/os/fuchsia/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::sys_common::AsInner;
55

66
/// OS-specific extensions to [`fs::Metadata`].
77
///
8-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
8+
/// [`fs::Metadata`]: crate::fs::Metadata
99
#[stable(feature = "metadata_ext", since = "1.1.0")]
1010
pub trait MetadataExt {
1111
#[stable(feature = "metadata_ext2", since = "1.8.0")]

library/std/src/os/haiku/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::haiku::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

library/std/src/os/illumos/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::illumos::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

library/std/src/os/ios/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::os::ios::raw;
88

99
/// OS-specific extensions to [`fs::Metadata`].
1010
///
11-
/// [`fs::Metadata`]: ../../../../std/fs/struct.Metadata.html
11+
/// [`fs::Metadata`]: crate::fs::Metadata
1212
#[stable(feature = "metadata_ext", since = "1.1.0")]
1313
pub trait MetadataExt {
1414
/// Gain a reference to the underlying `stat` structure which contains

0 commit comments

Comments
 (0)