MilkV Duo verified yesterday that RUST can be installed, and can be used to play Rust, and there are things to play with

今年工作忙,好久没玩 MilkV Duo 和 学习 RiscV 汇编了。
我最初买这个,就是为了学习 RiscV 汇编用的。
使用 MilkV Duo 学 汇编真是太方便了

我用 MilkV Duo 学习 RiscV 汇编

gcc -S -O2 tesc.s

gcc -c -O2 tesc.s

objdump -d test.o

MilkV Duo 昨天验证可以安装 RUST,可以用来玩 Rust,又有可玩的东西了。

rustc --emit llvm-ir a.rs
rustc --emit asm a.rs

先决条件 需要先刷 Debian 镜像,然后就可以安装 gcc 和 Rust 编译环境

2 Likes

That’s great , can you please tell me how to do it , I have a milk v duo -s , I want to install rust in it , that will be helpful for me and any kind of help will be appreciated , Thank you.