Compiled on target platform.

pull/2/head
Yifan Wu 5 years ago
parent 278bae2391
commit 29f4683ad8

1
.gitignore vendored

@ -1 +1,2 @@
.idea/*
os/target/*

@ -0,0 +1,2 @@
[build]
target = "riscv64gc-unknown-none-elf"

5
os/Cargo.lock generated

@ -0,0 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "os"
version = "0.1.0"

@ -0,0 +1,9 @@
[package]
name = "os"
version = "0.1.0"
authors = ["Yifan Wu <shinbokuow@163.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

@ -0,0 +1,6 @@
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {}
}

@ -0,0 +1,5 @@
#![no_std]
#![no_main]
mod lang_items;
Loading…
Cancel
Save