This repository was archived by the owner on May 23, 2024. It is now read-only.
File tree 5 files changed +10
-7
lines changed
5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 26
26
run : |
27
27
rustup set profile minimal
28
28
rustup toolchain install nightly
29
- # aarch64-apple-darwin is needed for issue-84020 and issue-84984
30
- rustup target add --toolchain nightly aarch64-apple-darwin
31
29
32
30
- run : cargo run -p autofix
33
31
env :
Original file line number Diff line number Diff line change 13
13
run : |
14
14
rustup set profile minimal
15
15
rustup toolchain install nightly
16
- # aarch64-apple-darwin is needed for issue-84020 and issue-84984
17
- rustup target add --toolchain nightly aarch64-apple-darwin
18
16
19
17
- name : cargo run glacier
20
18
run : cargo run
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ OUTPUT=$( rustc - 2>&1 << EOF
1
4
#[inline(always)]
2
5
fn other_ext() {
3
6
extern "C" {
@@ -18,3 +21,10 @@ fn main() {
18
21
this_ext();
19
22
other_ext();
20
23
}
24
+ EOF
25
+ )
26
+
27
+ echo " $OUTPUT "
28
+ if echo " $OUTPUT " | grep -q ' error: linking with .* failed' ; then
29
+ exit 101
30
+ fi
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ impl ICE {
67
67
ice : self ,
68
68
outcome : match output. status . code ( ) {
69
69
_ if stderr. contains ( "error: internal compiler error" ) => Outcome :: ICEd ,
70
- Some ( x) if x != 0 && stderr. contains ( "error: linking with `cc` failed" ) => {
71
- Outcome :: ICEd
72
- }
73
70
Some ( 0 ) => Outcome :: NoError ,
74
71
Some ( 101 ) => Outcome :: ICEd , // An ICE will cause an error code of 101
75
72
// Bash uses 128+N for processes terminated by signal N
You can’t perform that action at this time.
0 commit comments