File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed
librustc_codegen_llvm/debuginfo Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ download_sysimage() {
2020 # The output from sdkmanager is so noisy that it will occupy all of the 4 MB
2121 # log extremely quickly. Thus we must silence all output.
2222 yes | sdkmanager --licenses > /dev/null
23- sdkmanager platform-tools emulator \
23+ yes | sdkmanager platform-tools emulator \
2424 " platforms;android-$api " \
2525 " system-images;android-$api ;default;$abi " > /dev/null
2626}
Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ impl DepGraph {
600600 DepKind :: Hir |
601601 DepKind :: HirBody |
602602 DepKind :: CrateMetadata => {
603- if dep_node . extract_def_id ( tcx) . is_none ( ) {
603+ if dep_dep_node . extract_def_id ( tcx) . is_none ( ) {
604604 // If the node does not exist anymore, we
605605 // just fail to mark green.
606606 return None
Original file line number Diff line number Diff line change @@ -1164,7 +1164,10 @@ fn use_enum_fallback(cx: &CodegenCx) -> bool {
11641164 // On MSVC we have to use the fallback mode, because LLVM doesn't
11651165 // lower variant parts to PDB.
11661166 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 ;
11681171}
11691172
11701173// 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