Update the LoongArch target documentation · rust-lang/rust@4c84f0a (original) (raw)

`@@ -7,8 +7,8 @@ LoongArch is a RISC ISA developed by Loongson Technology Corporation Limited.

`

7

7

``

8

8

`| Target | Description |

`

9

9

`|--------|-------------|

`

10

``

`` -

| loongarch64-unknown-linux-gnu | LoongArch64 Linux, LP64D ABI (kernel 5.19, glibc 2.36) |

``

11

``

`` -

| loongarch64-unknown-linux-musl | LoongArch64 Linux, LP64D ABI (kernel 5.19, musl 1.2.5) |

``

``

10

`` +

| loongarch64-unknown-linux-gnu | LoongArch64 Linux, LP64D ABI (kernel 5.19, glibc 2.36), LSX required |

``

``

11

`` +

| loongarch64-unknown-linux-musl | LoongArch64 Linux, LP64D ABI (kernel 5.19, musl 1.2.5), LSX required |

``

12

12

``

13

13

`` These support both native and cross builds, and have full support for std.

``

14

14

``

`@@ -23,8 +23,6 @@ Reference material:

`

23

23

`## Target maintainers

`

24

24

``

25

25

`@heiher

`

26

``

`-

@xiangzhai

`

27

``

`-

@zhaixiaojuan

`

28

26

`@xen0n

`

29

27

``

30

28

`## Requirements

`

`@@ -46,8 +44,8 @@ The targets require a reasonably up-to-date LoongArch toolchain on the host.

`

46

44

`Currently the following components are used by the Rust CI to build the target,

`

47

45

`and the versions can be seen as the minimum requirement:

`

48

46

``

49

``

`-

`

50

``

`-

`

``

47

`+

`

``

48

`+

`

51

49

`* glibc 2.36

`

52

50

`* linux-headers 5.19

`

53

51

``

`@@ -59,6 +57,11 @@ for newer LoongArch ELF relocation types, among other features.

`

59

57

`Recent LLVM/Clang toolchains may be able to build the targets, but are not

`

60

58

`currently being actively tested.

`

61

59

``

``

60

`+

CPU features

`

``

61

+

``

62

`+

These targets require the double-precision floating-point and LSX (LoongArch

`

``

63

`+

SIMD Extension) features.

`

``

64

+

62

65

`## Building

`

63

66

``

64

67

`` These targets are distributed through rustup, and otherwise require no

``