Skip to content

Commit d50f7a3

Browse files
committed
Promote OpenHarmony targets to tier 2
MCP: rust-lang/compiler-team#719
1 parent 11f32b7 commit d50f7a3

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ jobs:
224224
- name: dist-loongarch64-linux
225225
os: ubuntu-20.04-8core-32gb
226226
env: {}
227+
- name: dist-ohos
228+
os: ubuntu-20.04-8core-32gb
229+
env: {}
227230
- name: dist-powerpc-linux
228231
os: ubuntu-20.04-8core-32gb
229232
env: {}

src/ci/github-actions/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,9 @@ jobs:
392392
- name: dist-loongarch64-linux
393393
<<: *job-linux-8c
394394

395+
- name: dist-ohos
396+
<<: *job-linux-8c
397+
395398
- name: dist-powerpc-linux
396399
<<: *job-linux-8c
397400

src/doc/rustc/src/platform-support.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ target | std | notes
143143
`aarch64-fuchsia` | ✓ | Alias for `aarch64-unknown-fuchsia`
144144
[`aarch64-unknown-fuchsia`](platform-support/fuchsia.md) | ✓ | ARM64 Fuchsia
145145
[`aarch64-linux-android`](platform-support/android.md) | ✓ | ARM64 Android
146+
[`aarch64-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | ARM64 OpenHarmony
146147
`aarch64-unknown-none-softfloat` | * | Bare ARM64, softfloat
147148
`aarch64-unknown-none` | * | Bare ARM64, hardfloat
148149
[`aarch64-unknown-uefi`](platform-support/unknown-uefi.md) | * | ARM64 UEFI
@@ -157,6 +158,7 @@ target | std | notes
157158
`armv7-unknown-linux-gnueabi` | ✓ | ARMv7-A Linux (kernel 4.15, glibc 2.27)
158159
`armv7-unknown-linux-musleabi` | ✓ | ARMv7-A Linux with MUSL
159160
`armv7-unknown-linux-musleabihf` | ✓ | ARMv7-A Linux with MUSL, hardfloat
161+
[`armv7-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | ARMv7-A OpenHarmony
160162
[`armv7a-none-eabi`](platform-support/arm-none-eabi.md) | * | Bare ARMv7-A
161163
[`armv7r-none-eabi`](platform-support/armv7r-none-eabi.md) | * | Bare ARMv7-R
162164
[`armv7r-none-eabihf`](platform-support/armv7r-none-eabi.md) | * | Bare ARMv7-R, hardfloat
@@ -199,6 +201,7 @@ target | std | notes
199201
[`x86_64-linux-android`](platform-support/android.md) | ✓ | 64-bit x86 Android
200202
`x86_64-pc-solaris` | ✓ | 64-bit Solaris 11, illumos
201203
`x86_64-unknown-linux-gnux32` | ✓ | 64-bit Linux (x32 ABI) (kernel 4.15, glibc 2.27)
204+
[`x86_64-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | x86_64 OpenHarmony
202205
[`x86_64-unknown-none`](platform-support/x86_64-unknown-none.md) | * | Freestanding/bare-metal x86_64, softfloat
203206
`x86_64-unknown-redox` | ✓ | Redox OS
204207
[`x86_64-unknown-uefi`](platform-support/unknown-uefi.md) | * | 64-bit UEFI
@@ -244,7 +247,6 @@ target | std | host | notes
244247
[`aarch64-kmc-solid_asp3`](platform-support/kmc-solid.md) | ✓ | | ARM64 SOLID with TOPPERS/ASP3
245248
[`aarch64-nintendo-switch-freestanding`](platform-support/aarch64-nintendo-switch-freestanding.md) | * | | ARM64 Nintendo Switch, Horizon
246249
[`aarch64-pc-windows-gnullvm`](platform-support/pc-windows-gnullvm.md) | ✓ | ✓ |
247-
[`aarch64-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | | ARM64 OpenHarmony |
248250
[`aarch64-unknown-teeos`](platform-support/aarch64-unknown-teeos.md) | ? | | ARM64 TEEOS |
249251
[`aarch64-unknown-nto-qnx710`](platform-support/nto-qnx.md) | ✓ | | ARM64 QNX Neutrino 7.1 RTOS |
250252
`aarch64-unknown-freebsd` | ✓ | ✓ | ARM64 FreeBSD
@@ -269,7 +271,6 @@ target | std | host | notes
269271
[`armv6-unknown-netbsd-eabihf`](platform-support/netbsd.md) | ✓ | ✓ | ARMv6 NetBSD w/hard-float
270272
[`armv6k-nintendo-3ds`](platform-support/armv6k-nintendo-3ds.md) | ? | | ARMv6K Nintendo 3DS, Horizon (Requires devkitARM toolchain)
271273
[`armv7-sony-vita-newlibeabihf`](platform-support/armv7-sony-vita-newlibeabihf.md) | ✓ | | ARMv7-A Cortex-A9 Sony PlayStation Vita (requires VITASDK toolchain)
272-
[`armv7-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | | ARMv7-A OpenHarmony |
273274
[`armv7-unknown-linux-uclibceabi`](platform-support/armv7-unknown-linux-uclibceabi.md) | ✓ | ✓ | ARMv7-A Linux with uClibc, softfloat
274275
[`armv7-unknown-linux-uclibceabihf`](platform-support/armv7-unknown-linux-uclibceabihf.md) | ✓ | ? | ARMv7-A Linux with uClibc, hardfloat
275276
`armv7-unknown-freebsd` | ✓ | ✓ | ARMv7-A FreeBSD
@@ -372,7 +373,6 @@ target | std | host | notes
372373
`x86_64-unknown-haiku` | ✓ | ✓ | 64-bit Haiku
373374
[`x86_64-unknown-hermit`](platform-support/hermit.md) | ✓ | | x86_64 Hermit
374375
`x86_64-unknown-l4re-uclibc` | ? | |
375-
[`x86_64-unknown-linux-ohos`](platform-support/openharmony.md) | ✓ | | x86_64 OpenHarmony |
376376
[`x86_64-unknown-openbsd`](platform-support/openbsd.md) | ✓ | ✓ | 64-bit OpenBSD
377377
`x86_64-uwp-windows-gnu` | ✓ | |
378378
`x86_64-uwp-windows-msvc` | ✓ | |

src/doc/rustc/src/platform-support/openharmony.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# `*-unknown-linux-ohos`
22

3-
**Tier: 3**
3+
**Tier: 2**
44

55
Targets for the [OpenHarmony](https://gitee.com/openharmony/docs/) operating
66
system.
77

88
## Target maintainers
99

1010
- Amanieu d'Antras ([@Amanieu](https://github.com/Amanieu))
11+
- Lu Binglun ([@lubinglun](https://github.com/lubinglun))
1112

1213
## Setup
1314

src/tools/build-manifest/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ static TARGETS: &[&str] = &[
6060
"aarch64-unknown-hermit",
6161
"aarch64-unknown-linux-gnu",
6262
"aarch64-unknown-linux-musl",
63+
"aarch64-unknown-linux-ohos",
6364
"aarch64-unknown-none",
6465
"aarch64-unknown-none-softfloat",
6566
"aarch64-unknown-redox",
@@ -79,6 +80,7 @@ static TARGETS: &[&str] = &[
7980
"thumbv7neon-unknown-linux-gnueabihf",
8081
"armv7-unknown-linux-musleabi",
8182
"armv7-unknown-linux-musleabihf",
83+
"armv7-unknown-linux-ohos",
8284
"armebv7r-none-eabi",
8385
"armebv7r-none-eabihf",
8486
"armv7r-none-eabi",
@@ -160,6 +162,7 @@ static TARGETS: &[&str] = &[
160162
"x86_64-unknown-linux-gnu",
161163
"x86_64-unknown-linux-gnux32",
162164
"x86_64-unknown-linux-musl",
165+
"x86_64-unknown-linux-ohos",
163166
"x86_64-unknown-netbsd",
164167
"x86_64-unknown-none",
165168
"x86_64-unknown-redox",

0 commit comments

Comments
 (0)