@@ -237,10 +237,10 @@ impl RustcInternal for FnSig {
237
237
}
238
238
239
239
impl RustcInternal for VariantIdx {
240
- type T < ' tcx > = rustc_target :: abi :: VariantIdx ;
240
+ type T < ' tcx > = rustc_abi :: VariantIdx ;
241
241
242
242
fn internal < ' tcx > ( & self , _tables : & mut Tables < ' _ > , _tcx : TyCtxt < ' tcx > ) -> Self :: T < ' tcx > {
243
- rustc_target :: abi :: VariantIdx :: from ( self . to_index ( ) )
243
+ rustc_abi :: VariantIdx :: from ( self . to_index ( ) )
244
244
}
245
245
}
246
246
@@ -451,35 +451,35 @@ impl RustcInternal for AdtDef {
451
451
}
452
452
453
453
impl RustcInternal for Abi {
454
- type T < ' tcx > = rustc_target :: spec :: abi :: Abi ;
454
+ type T < ' tcx > = rustc_abi :: ExternAbi ;
455
455
456
456
fn internal < ' tcx > ( & self , _tables : & mut Tables < ' _ > , _tcx : TyCtxt < ' tcx > ) -> Self :: T < ' tcx > {
457
457
match * self {
458
- Abi :: Rust => rustc_target :: spec :: abi :: Abi :: Rust ,
459
- Abi :: C { unwind } => rustc_target :: spec :: abi :: Abi :: C { unwind } ,
460
- Abi :: Cdecl { unwind } => rustc_target :: spec :: abi :: Abi :: Cdecl { unwind } ,
461
- Abi :: Stdcall { unwind } => rustc_target :: spec :: abi :: Abi :: Stdcall { unwind } ,
462
- Abi :: Fastcall { unwind } => rustc_target :: spec :: abi :: Abi :: Fastcall { unwind } ,
463
- Abi :: Vectorcall { unwind } => rustc_target :: spec :: abi :: Abi :: Vectorcall { unwind } ,
464
- Abi :: Thiscall { unwind } => rustc_target :: spec :: abi :: Abi :: Thiscall { unwind } ,
465
- Abi :: Aapcs { unwind } => rustc_target :: spec :: abi :: Abi :: Aapcs { unwind } ,
466
- Abi :: Win64 { unwind } => rustc_target :: spec :: abi :: Abi :: Win64 { unwind } ,
467
- Abi :: SysV64 { unwind } => rustc_target :: spec :: abi :: Abi :: SysV64 { unwind } ,
468
- Abi :: PtxKernel => rustc_target :: spec :: abi :: Abi :: PtxKernel ,
469
- Abi :: Msp430Interrupt => rustc_target :: spec :: abi :: Abi :: Msp430Interrupt ,
470
- Abi :: X86Interrupt => rustc_target :: spec :: abi :: Abi :: X86Interrupt ,
471
- Abi :: EfiApi => rustc_target :: spec :: abi :: Abi :: EfiApi ,
472
- Abi :: AvrInterrupt => rustc_target :: spec :: abi :: Abi :: AvrInterrupt ,
473
- Abi :: AvrNonBlockingInterrupt => rustc_target :: spec :: abi :: Abi :: AvrNonBlockingInterrupt ,
474
- Abi :: CCmseNonSecureCall => rustc_target :: spec :: abi :: Abi :: CCmseNonSecureCall ,
475
- Abi :: CCmseNonSecureEntry => rustc_target :: spec :: abi :: Abi :: CCmseNonSecureEntry ,
476
- Abi :: System { unwind } => rustc_target :: spec :: abi :: Abi :: System { unwind } ,
477
- Abi :: RustIntrinsic => rustc_target :: spec :: abi :: Abi :: RustIntrinsic ,
478
- Abi :: RustCall => rustc_target :: spec :: abi :: Abi :: RustCall ,
479
- Abi :: Unadjusted => rustc_target :: spec :: abi :: Abi :: Unadjusted ,
480
- Abi :: RustCold => rustc_target :: spec :: abi :: Abi :: RustCold ,
481
- Abi :: RiscvInterruptM => rustc_target :: spec :: abi :: Abi :: RiscvInterruptM ,
482
- Abi :: RiscvInterruptS => rustc_target :: spec :: abi :: Abi :: RiscvInterruptS ,
458
+ Abi :: Rust => rustc_abi :: ExternAbi :: Rust ,
459
+ Abi :: C { unwind } => rustc_abi :: ExternAbi :: C { unwind } ,
460
+ Abi :: Cdecl { unwind } => rustc_abi :: ExternAbi :: Cdecl { unwind } ,
461
+ Abi :: Stdcall { unwind } => rustc_abi :: ExternAbi :: Stdcall { unwind } ,
462
+ Abi :: Fastcall { unwind } => rustc_abi :: ExternAbi :: Fastcall { unwind } ,
463
+ Abi :: Vectorcall { unwind } => rustc_abi :: ExternAbi :: Vectorcall { unwind } ,
464
+ Abi :: Thiscall { unwind } => rustc_abi :: ExternAbi :: Thiscall { unwind } ,
465
+ Abi :: Aapcs { unwind } => rustc_abi :: ExternAbi :: Aapcs { unwind } ,
466
+ Abi :: Win64 { unwind } => rustc_abi :: ExternAbi :: Win64 { unwind } ,
467
+ Abi :: SysV64 { unwind } => rustc_abi :: ExternAbi :: SysV64 { unwind } ,
468
+ Abi :: PtxKernel => rustc_abi :: ExternAbi :: PtxKernel ,
469
+ Abi :: Msp430Interrupt => rustc_abi :: ExternAbi :: Msp430Interrupt ,
470
+ Abi :: X86Interrupt => rustc_abi :: ExternAbi :: X86Interrupt ,
471
+ Abi :: EfiApi => rustc_abi :: ExternAbi :: EfiApi ,
472
+ Abi :: AvrInterrupt => rustc_abi :: ExternAbi :: AvrInterrupt ,
473
+ Abi :: AvrNonBlockingInterrupt => rustc_abi :: ExternAbi :: AvrNonBlockingInterrupt ,
474
+ Abi :: CCmseNonSecureCall => rustc_abi :: ExternAbi :: CCmseNonSecureCall ,
475
+ Abi :: CCmseNonSecureEntry => rustc_abi :: ExternAbi :: CCmseNonSecureEntry ,
476
+ Abi :: System { unwind } => rustc_abi :: ExternAbi :: System { unwind } ,
477
+ Abi :: RustIntrinsic => rustc_abi :: ExternAbi :: RustIntrinsic ,
478
+ Abi :: RustCall => rustc_abi :: ExternAbi :: RustCall ,
479
+ Abi :: Unadjusted => rustc_abi :: ExternAbi :: Unadjusted ,
480
+ Abi :: RustCold => rustc_abi :: ExternAbi :: RustCold ,
481
+ Abi :: RiscvInterruptM => rustc_abi :: ExternAbi :: RiscvInterruptM ,
482
+ Abi :: RiscvInterruptS => rustc_abi :: ExternAbi :: RiscvInterruptS ,
483
483
}
484
484
}
485
485
}
@@ -503,7 +503,7 @@ impl RustcInternal for Span {
503
503
}
504
504
505
505
impl RustcInternal for Layout {
506
- type T < ' tcx > = rustc_target :: abi :: Layout < ' tcx > ;
506
+ type T < ' tcx > = rustc_abi :: Layout < ' tcx > ;
507
507
508
508
fn internal < ' tcx > ( & self , tables : & mut Tables < ' _ > , tcx : TyCtxt < ' tcx > ) -> Self :: T < ' tcx > {
509
509
tcx. lift ( tables. layouts [ * self ] ) . unwrap ( )
0 commit comments