File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 84
84
CC : deny_c
85
85
86
86
strategy :
87
+ fail-fast : false
87
88
matrix :
88
89
os : [ubuntu-latest, windows-latest, macos-latest]
89
90
@@ -326,12 +327,12 @@ jobs:
326
327
327
328
cancel-if-matrix-failed :
328
329
needs : rust
330
+ if : ${{ always() }}
329
331
runs-on : ubuntu-latest
330
332
steps :
331
333
- name : Cancel parallel jobs
332
- if : failure()
333
334
run : |
334
- if [ jq --exit-status 'all(.result == "success" or .result == "skipped")' <<< '${{ toJson(needs) }}' ] ; then
335
+ if jq --exit-status 'all(.result == "success" or .result == "skipped")' <<< '${{ toJson(needs) }}'; then
335
336
exit 0
336
337
fi
337
338
# https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#cancel-a-workflow-run
Original file line number Diff line number Diff line change @@ -134,13 +134,13 @@ jobs:
134
134
135
135
- name : Run analysis-stats on rust-analyzer
136
136
if : matrix.target == 'x86_64-unknown-linux-gnu'
137
- run : target/${{ matrix.target }}/release/rust-analyzer analysis-stats .
137
+ run : target/${{ matrix.target }}/release/rust-analyzer analysis-stats . -q
138
138
139
139
- name : Run analysis-stats on rust std library
140
140
if : matrix.target == 'x86_64-unknown-linux-gnu'
141
141
env :
142
142
RUSTC_BOOTSTRAP : 1
143
- run : target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std
143
+ run : target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std -q
144
144
145
145
- name : Upload artifacts
146
146
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -3044,7 +3044,10 @@ impl IntValue {
3044
3044
( 8 , true ) => Self :: I64 ( i64:: from_le_bytes ( bytes. try_into ( ) . unwrap ( ) ) ) ,
3045
3045
( 16 , false ) => Self :: U128 ( u128:: from_le_bytes ( bytes. try_into ( ) . unwrap ( ) ) ) ,
3046
3046
( 16 , true ) => Self :: I128 ( i128:: from_le_bytes ( bytes. try_into ( ) . unwrap ( ) ) ) ,
3047
- _ => panic ! ( "invalid integer size" ) ,
3047
+ ( len, is_signed) => {
3048
+ never ! ( "invalid integer size: {len}, signed: {is_signed}" ) ;
3049
+ Self :: I32 ( 0 )
3050
+ }
3048
3051
}
3049
3052
}
3050
3053
You can’t perform that action at this time.
0 commit comments