File tree 4 files changed +23
-3
lines changed
librustc_codegen_llvm/debuginfo
4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ download_sysimage() {
20
20
# The output from sdkmanager is so noisy that it will occupy all of the 4 MB
21
21
# log extremely quickly. Thus we must silence all output.
22
22
yes | sdkmanager --licenses > /dev/null
23
- sdkmanager platform-tools emulator \
23
+ yes | sdkmanager platform-tools emulator \
24
24
" platforms;android-$api " \
25
25
" system-images;android-$api ;default;$abi " > /dev/null
26
26
}
Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ impl DepGraph {
600
600
DepKind :: Hir |
601
601
DepKind :: HirBody |
602
602
DepKind :: CrateMetadata => {
603
- if dep_node . extract_def_id ( tcx) . is_none ( ) {
603
+ if dep_dep_node . extract_def_id ( tcx) . is_none ( ) {
604
604
// If the node does not exist anymore, we
605
605
// just fail to mark green.
606
606
return None
Original file line number Diff line number Diff line change @@ -1164,7 +1164,10 @@ fn use_enum_fallback(cx: &CodegenCx) -> bool {
1164
1164
// On MSVC we have to use the fallback mode, because LLVM doesn't
1165
1165
// lower variant parts to PDB.
1166
1166
return cx. sess ( ) . target . target . options . is_like_msvc
1167
- || llvm_util:: get_major_version ( ) < 7 ;
1167
+ // LLVM version 7 did not release with an important bug fix;
1168
+ // but the required patch is in the LLVM 8. Rust LLVM reports
1169
+ // 8 as well.
1170
+ || llvm_util:: get_major_version ( ) < 8 ;
1168
1171
}
1169
1172
1170
1173
// Describes the members of an enum value: An enum is described as a union of
Original file line number Diff line number Diff line change
1
+
2
+ // revisions:rpass1 rpass2 rpass3
3
+
4
+ // See issue #57692.
5
+
6
+ #![ allow( warnings) ]
7
+
8
+ fn main ( ) {
9
+ #[ cfg( rpass1) ]
10
+ {
11
+ static map: u64 = 0 ;
12
+ }
13
+ #[ cfg( not( rpass1) ) ]
14
+ {
15
+ static MAP : u64 = 0 ;
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments