forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 4
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 rust-lang#82359 - JohnTitor:rollup-6puemik, r=JohnTitor
Rollup of 11 pull requests Successful merges: - rust-lang#81300 (BTree: share panicky test code & test panic during clear, clone) - rust-lang#81706 (Document BinaryHeap unsafe functions) - rust-lang#81833 (parallelize x.py test tidy) - rust-lang#81966 (Add new `rustc` target for Arm64 machines that can target the iphonesimulator) - rust-lang#82154 (Update RELEASES.md 1.50 to include methods stabilized in rust-lang#79342) - rust-lang#82177 (Do not delete bootstrap.exe on Windows during clean) - rust-lang#82181 (Add check for ES5 in CI) - rust-lang#82229 (Add [A-diagnostics] bug report template) - rust-lang#82233 (try-back-block-type test: Use TryFromSliceError for From test) - rust-lang#82302 (Remove unsafe impl Send for CompletedTest & TestResult) - rust-lang#82349 (test: Print test name only once on timeout) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
24 changed files
with
708 additions
and
311 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
name: Diagnostic issue | ||
about: Create a bug report or feature request for a change to `rustc`'s error output | ||
labels: A-diagnostics, T-compiler | ||
--- | ||
<!-- | ||
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, | ||
along with any information you feel relevant to replicating the bug. | ||
If you cannot produce a minimal reproduction case (something that would work in | ||
isolation), please provide the steps or even link to a repository that causes | ||
the problematic output to occur. | ||
--> | ||
|
||
Given the following code: <!-- Please provide a link to play.rust-lang.org --> | ||
|
||
```rust | ||
<code> | ||
``` | ||
|
||
The current output is: | ||
|
||
``` | ||
<rustc output> | ||
``` | ||
|
||
<!-- The following is not always necessary. --> | ||
Ideally the output should look like: | ||
|
||
``` | ||
<proposed output> | ||
``` | ||
|
||
<!-- | ||
If the problem is not self-explanatory, please provide a rationale for the | ||
change. | ||
--> | ||
|
||
<!-- | ||
If dramatically different output is caused by small changes, consider also | ||
adding them here. | ||
If you're using the stable version of the compiler, you should also check if the | ||
bug also exists in the beta or nightly versions. The output might also be | ||
different depending on the Edition. | ||
--> |
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
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,39 @@ | ||
use super::apple_sdk_base::{opts, Arch}; | ||
use crate::spec::{Target, TargetOptions}; | ||
|
||
pub fn target() -> Target { | ||
let base = opts("ios", Arch::Arm64_sim); | ||
|
||
// Clang automatically chooses a more specific target based on | ||
// IPHONEOS_DEPLOYMENT_TARGET. | ||
// This is required for the simulator target to pick the right | ||
// MACH-O commands, so we do too. | ||
let arch = "arm64"; | ||
let llvm_target = super::apple_base::ios_sim_llvm_target(arch); | ||
|
||
Target { | ||
llvm_target: llvm_target, | ||
pointer_width: 64, | ||
data_layout: "e-m:o-i64:64-i128:128-n32:64-S128".to_string(), | ||
arch: "aarch64".to_string(), | ||
options: TargetOptions { | ||
features: "+neon,+fp-armv8,+apple-a7".to_string(), | ||
eliminate_frame_pointer: false, | ||
max_atomic_width: Some(128), | ||
unsupported_abis: super::arm_base::unsupported_abis(), | ||
forces_embed_bitcode: true, | ||
// Taken from a clang build on Xcode 11.4.1. | ||
// These arguments are not actually invoked - they just have | ||
// to look right to pass App Store validation. | ||
bitcode_llvm_cmdline: "-triple\0\ | ||
arm64-apple-ios14.0-simulator\0\ | ||
-emit-obj\0\ | ||
-disable-llvm-passes\0\ | ||
-target-abi\0\ | ||
darwinpcs\0\ | ||
-Os\0" | ||
.to_string(), | ||
..base | ||
}, | ||
} | ||
} |
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
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
Oops, something went wrong.