Fix compile user for RV32

toolchain_update
WangRunji 7 years ago
parent 935bcb3e15
commit ee80a3eeb7

@ -0,0 +1,6 @@
[dependencies]
alloc = {}
[dependencies.compiler_builtins]
features = ["mem"]
stage = 1

@ -9,7 +9,7 @@
"cpu": "generic-rv32",
"features": "+m",
"max-atomic-width": "32",
"linker": "ld.lld",
"linker": "riscv32-unknown-elf-ld",
"linker-flavor": "ld",
"executables": true,
"panic-strategy": "abort",

@ -4,6 +4,9 @@
#![feature(panic_implementation)]
#![feature(panic_info_message)]
#![feature(linkage)]
#![feature(compiler_builtins_lib)]
extern crate compiler_builtins;
#[macro_use]
pub mod syscall;

Loading…
Cancel
Save