From 9e1403373d948a8e0e3b6e0dc0beec3e31401b28 Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Sun, 6 Sep 2020 11:20:53 +0300 Subject: [PATCH 1/2] Update linker-plugin-lto.md to contain up to rust 1.46 --- src/doc/rustc/src/linker-plugin-lto.md | 27 ++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/doc/rustc/src/linker-plugin-lto.md b/src/doc/rustc/src/linker-plugin-lto.md index c0b14352b7d1a..81c9b5774b2f3 100644 --- a/src/doc/rustc/src/linker-plugin-lto.md +++ b/src/doc/rustc/src/linker-plugin-lto.md @@ -100,17 +100,20 @@ LLVM. However, the approximation is usually reliable. The following table shows known good combinations of toolchain versions. -| | Clang 7 | Clang 8 | Clang 9 | -|-----------|-----------|-----------|-----------| -| Rust 1.34 | ✗ | ✓ | ✗ | -| Rust 1.35 | ✗ | ✓ | ✗ | -| Rust 1.36 | ✗ | ✓ | ✗ | -| Rust 1.37 | ✗ | ✓ | ✗ | -| Rust 1.38 | ✗ | ✗ | ✓ | -| Rust 1.39 | ✗ | ✗ | ✓ | -| Rust 1.40 | ✗ | ✗ | ✓ | -| Rust 1.41 | ✗ | ✗ | ✓ | -| Rust 1.42 | ✗ | ✗ | ✓ | -| Rust 1.43 | ✗ | ✗ | ✓ | +| | Clang 7 | Clang 8 | Clang 9 | Clang 10 | +|-----------|-----------|-----------|-----------|-----------| +| Rust 1.34 | ✗ | ✓ | ✗ | ✗ | +| Rust 1.35 | ✗ | ✓ | ✗ | ✗ | +| Rust 1.36 | ✗ | ✓ | ✗ | ✗ | +| Rust 1.37 | ✗ | ✓ | ✗ | ✗ | +| Rust 1.38 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.39 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.40 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.41 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.42 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.43 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.44 | ✗ | ✗ | ✓ | ✗ | +| Rust 1.45 | ✗ | ✗ | ✗ | ✓ | +| Rust 1.46 | ✗ | ✗ | ✗ | ✓ | Note that the compatibility policy for this feature might change in the future. From 2e82589741a475185421a481f7a00142725fb609 Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Sun, 6 Sep 2020 14:55:27 +0300 Subject: [PATCH 2/2] linker-plugin-lto.md: Convert the rust-clang MxN table to a 2xM table --- src/doc/rustc/src/linker-plugin-lto.md | 30 +++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/doc/rustc/src/linker-plugin-lto.md b/src/doc/rustc/src/linker-plugin-lto.md index 81c9b5774b2f3..f7843abf4d6f2 100644 --- a/src/doc/rustc/src/linker-plugin-lto.md +++ b/src/doc/rustc/src/linker-plugin-lto.md @@ -100,20 +100,20 @@ LLVM. However, the approximation is usually reliable. The following table shows known good combinations of toolchain versions. -| | Clang 7 | Clang 8 | Clang 9 | Clang 10 | -|-----------|-----------|-----------|-----------|-----------| -| Rust 1.34 | ✗ | ✓ | ✗ | ✗ | -| Rust 1.35 | ✗ | ✓ | ✗ | ✗ | -| Rust 1.36 | ✗ | ✓ | ✗ | ✗ | -| Rust 1.37 | ✗ | ✓ | ✗ | ✗ | -| Rust 1.38 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.39 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.40 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.41 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.42 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.43 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.44 | ✗ | ✗ | ✓ | ✗ | -| Rust 1.45 | ✗ | ✗ | ✗ | ✓ | -| Rust 1.46 | ✗ | ✗ | ✗ | ✓ | +| Rust Version | Clang Version | +|--------------|---------------| +| Rust 1.34 | Clang 8 | +| Rust 1.35 | Clang 8 | +| Rust 1.36 | Clang 8 | +| Rust 1.37 | Clang 8 | +| Rust 1.38 | Clang 9 | +| Rust 1.39 | Clang 9 | +| Rust 1.40 | Clang 9 | +| Rust 1.41 | Clang 9 | +| Rust 1.42 | Clang 9 | +| Rust 1.43 | Clang 9 | +| Rust 1.44 | Clang 9 | +| Rust 1.45 | Clang 10 | +| Rust 1.46 | Clang 10 | Note that the compatibility policy for this feature might change in the future.