-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #117716 - GuillaumeGomez:rollup-83gnhll, r=GuillaumeGomez
Rollup of 5 pull requests Successful merges: - #117263 (handle the case when the change-id isn't found) - #117282 (Recover from incorrectly ordered/duplicated function keywords) - #117679 (tests/rustdoc-json: Avoid needless use of `no_core` and `lang_items`) - #117702 (target: move base and target specifications) - #117713 (Add test for reexported hidden item with `--document-hidden-items`) r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
341 changed files
with
706 additions
and
712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ler/rustc_target/src/spec/android_base.rs → ...ler/rustc_target/src/spec/base/android.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...iler/rustc_target/src/spec/apple/tests.rs → ...rustc_target/src/spec/base/apple/tests.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use crate::spec::{base, TargetOptions}; | ||
|
||
pub fn opts() -> TargetOptions { | ||
TargetOptions { env: "gnu".into(), ..base::hurd::opts() } | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use crate::spec::{base, TargetOptions}; | ||
|
||
pub fn opts() -> TargetOptions { | ||
TargetOptions { env: "gnu".into(), ..base::linux::opts() } | ||
} |
4 changes: 2 additions & 2 deletions
4
.../rustc_target/src/spec/linux_musl_base.rs → .../rustc_target/src/spec/base/linux_musl.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../rustc_target/src/spec/linux_ohos_base.rs → .../rustc_target/src/spec/base/linux_ohos.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
use crate::spec::{base, TargetOptions}; | ||
|
||
pub fn opts() -> TargetOptions { | ||
TargetOptions { env: "uclibc".into(), ..base::linux::opts() } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
pub(crate) mod aix; | ||
pub(crate) mod android; | ||
pub(crate) mod apple; | ||
pub(crate) mod avr_gnu; | ||
pub(crate) mod bpf; | ||
pub(crate) mod dragonfly; | ||
pub(crate) mod freebsd; | ||
pub(crate) mod fuchsia; | ||
pub(crate) mod haiku; | ||
pub(crate) mod hermit; | ||
pub(crate) mod hurd; | ||
pub(crate) mod hurd_gnu; | ||
pub(crate) mod illumos; | ||
pub(crate) mod l4re; | ||
pub(crate) mod linux; | ||
pub(crate) mod linux_gnu; | ||
pub(crate) mod linux_musl; | ||
pub(crate) mod linux_ohos; | ||
pub(crate) mod linux_uclibc; | ||
pub(crate) mod msvc; | ||
pub(crate) mod netbsd; | ||
pub(crate) mod nto_qnx; | ||
pub(crate) mod openbsd; | ||
pub(crate) mod redox; | ||
pub(crate) mod solaris; | ||
pub(crate) mod solid; | ||
pub(crate) mod teeos; | ||
pub(crate) mod thumb; | ||
pub(crate) mod uefi_msvc; | ||
pub(crate) mod unikraft_linux_musl; | ||
pub(crate) mod vxworks; | ||
pub(crate) mod wasm; | ||
pub(crate) mod windows_gnu; | ||
pub(crate) mod windows_gnullvm; | ||
pub(crate) mod windows_msvc; | ||
pub(crate) mod windows_uwp_gnu; | ||
pub(crate) mod windows_uwp_msvc; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
compiler/rustc_target/src/spec/solid_base.rs → compiler/rustc_target/src/spec/base/solid.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
compiler/rustc_target/src/spec/teeos_base.rs → compiler/rustc_target/src/spec/base/teeos.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ustc_target/src/spec/windows_msvc_base.rs → ...ustc_target/src/spec/base/windows_msvc.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
..._target/src/spec/windows_uwp_msvc_base.rs → ..._target/src/spec/base/windows_uwp_msvc.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.