|
10 | 10 |
|
11 | 11 | use super::*; |
12 | 12 |
|
13 | | -pub(crate) const RUSTC_VERSION: &str = "1.88.0"; |
| 13 | +pub(crate) const RUSTC_VERSION: &str = "1.89.0"; |
14 | 14 |
|
15 | 15 | pub const ALL_BUILTINS: &[TargetInfo] = &[ |
16 | 16 | TargetInfo { |
@@ -1573,6 +1573,32 @@ pub const ALL_BUILTINS: &[TargetInfo] = &[ |
1573 | 1573 | has_atomics: HasAtomics::atomic_8_16_32_64_ptr, |
1574 | 1574 | panic: Panic::unwind, |
1575 | 1575 | }, |
| 1576 | + TargetInfo { |
| 1577 | + triple: Triple::new_const("loongarch32-unknown-none"), |
| 1578 | + os: None, |
| 1579 | + abi: None, |
| 1580 | + arch: Arch::loongarch32, |
| 1581 | + env: None, |
| 1582 | + vendor: Some(Vendor::unknown), |
| 1583 | + families: Families::new_const(&[]), |
| 1584 | + pointer_width: 32, |
| 1585 | + endian: Endian::little, |
| 1586 | + has_atomics: HasAtomics::atomic_8_16_32_ptr, |
| 1587 | + panic: Panic::abort, |
| 1588 | + }, |
| 1589 | + TargetInfo { |
| 1590 | + triple: Triple::new_const("loongarch32-unknown-none-softfloat"), |
| 1591 | + os: None, |
| 1592 | + abi: Some(Abi::softfloat), |
| 1593 | + arch: Arch::loongarch32, |
| 1594 | + env: None, |
| 1595 | + vendor: Some(Vendor::unknown), |
| 1596 | + families: Families::new_const(&[]), |
| 1597 | + pointer_width: 32, |
| 1598 | + endian: Endian::little, |
| 1599 | + has_atomics: HasAtomics::atomic_8_16_32_ptr, |
| 1600 | + panic: Panic::abort, |
| 1601 | + }, |
1576 | 1602 | TargetInfo { |
1577 | 1603 | triple: Triple::new_const("loongarch64-unknown-linux-gnu"), |
1578 | 1604 | os: Some(Os::linux), |
@@ -3787,6 +3813,7 @@ impl super::Arch { |
3787 | 3813 | pub const bpf: Arch = Arch::new_const("bpf"); |
3788 | 3814 | pub const csky: Arch = Arch::new_const("csky"); |
3789 | 3815 | pub const hexagon: Arch = Arch::new_const("hexagon"); |
| 3816 | + pub const loongarch32: Arch = Arch::new_const("loongarch32"); |
3790 | 3817 | pub const loongarch64: Arch = Arch::new_const("loongarch64"); |
3791 | 3818 | pub const m68k: Arch = Arch::new_const("m68k"); |
3792 | 3819 | pub const mips: Arch = Arch::new_const("mips"); |
|
0 commit comments