Comments (4)
Build with riscv64imac target would solve the problem. And yes I should mark them in readme file, as it would help to solve the problem. :)
from rustsbi.
Thanks @luojia65. Just FYI, I got
$ cargo build --target riscv64imac-unknown-none-elf
Compiling memchr v2.4.1
Compiling regex-syntax v0.6.25
...
Compiling rustsbi v0.2.0-alpha.9 (/home/tommy/projects/chipsalliance/workloads/rustsbi)
error[E0658]: use of unstable library feature 'asm': inline assembly is not stable enough for use and is subject to change
--> src/hart_mask.rs:73:13
|
73 | core::arch::asm!("
| ^^^^^^^^^^^^^^^
|
= note: see issue #72016 <https://github.com/rust-lang/rust/issues/72016> for more information
= help: add `#![feature(asm)]` to the crate attributes to enable
...
and a lot more like this. It seems I have to use nightly, but I failed to figure out how to do that without making nightly the default (via rustup default nightly
).
from rustsbi.
@tommythorn You may need to use a nightly newer than 2021-12-15. That nightly includes a stabilization of asm! macro which would land in future 1.59.0 stable (would be MSRV of current project).
I'd mark that in readme file as well.
from rustsbi.
Added compile time hint in commit 1b3c56f
from rustsbi.
Related Issues (13)
- How to work on riscv32? HOT 3
- Software Delegate IllegalInstruction Exception to Supervisor Mode HOT 3
- rustsbi qemu panic due to invalid instruction HOT 7
- Why is the symbol not found? HOT 1
- Page fault delegation HOT 5
- 安装问题 HOT 2
- RustSBI的浮点指令支持 HOT 2
- 能否像opensbi一样绑定kernel吗 HOT 4
- 能否限定 RustSBI 的实现通过 &‘static dyn 传入模块的实现对象? HOT 10
- Next Release HOT 5
- Resident and PMP regions should be marked as "no-map"
- Update README, CHANGELOG for next publishing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustsbi.