feat: 支持在rv64下,运行rust编写的helloworld程序 (#1125)

* 添加 riscv_rust_init 这个helloworld程序

Signed-off-by: longjin <longjin@DragonOS.org>

* feat: 支持在riscv下启动rust编写的hello world程序

TODO: 支持sys ppoll

Signed-off-by: longjin <longjin@DragonOS.org>

* chore: 更新构建容器版本至v1.9

Signed-off-by: longjin <longjin@DragonOS.org>

* 1

---------

Signed-off-by: longjin <longjin@DragonOS.org>
This commit is contained in:
LoGin
2025-03-30 01:28:41 +08:00
committed by GitHub
parent 55833537f1
commit 03015e2559
17 changed files with 152 additions and 38 deletions

View File

@ -11,14 +11,14 @@ jobs:
name: Format check ${{ matrix.arch }}
runs-on: ubuntu-latest
continue-on-error: true
container: dragonos/dragonos-dev:v1.8
container: dragonos/dragonos-dev:v1.9
strategy:
matrix:
arch: [x86_64, riscv64]
steps:
- run: echo "Running in dragonos/dragonos-dev:v1.8"
- run: echo "Running in dragonos/dragonos-dev:v1.9"
- uses: actions/checkout@v3
- name: Format check
@ -35,14 +35,14 @@ jobs:
name: Kernel static test ${{ matrix.arch }}
runs-on: ubuntu-latest
continue-on-error: true
container: dragonos/dragonos-dev:v1.8
container: dragonos/dragonos-dev:v1.9
strategy:
matrix:
arch: [x86_64, riscv64]
steps:
- run: echo "Running in dragonos/dragonos-dev:v1.8"
- run: echo "Running in dragonos/dragonos-dev:v1.9"
- uses: actions/checkout@v3
@ -55,10 +55,10 @@ jobs:
build-x86_64:
runs-on: ubuntu-latest
container: dragonos/dragonos-dev:v1.8
container: dragonos/dragonos-dev:v1.9
steps:
- run: echo "Running in dragonos/dragonos-dev:v1.8"
- run: echo "Running in dragonos/dragonos-dev:v1.9"
- uses: actions/checkout@v3
- name: build the DragonOS
@ -77,10 +77,10 @@ jobs:
build-riscv64:
runs-on: ubuntu-latest
container: dragonos/dragonos-dev:v1.8
container: dragonos/dragonos-dev:v1.9
steps:
- run: echo "Running in dragonos/dragonos-dev:v1.8"
- run: echo "Running in dragonos/dragonos-dev:v1.9"
- uses: actions/checkout@v3
with: