mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Compare commits
21 Commits
post-12-ne
...
b99c3f6d1d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b99c3f6d1d | ||
|
|
66c1792034 | ||
|
|
6393247a3b | ||
|
|
faa8d15cb7 | ||
|
|
26f1f5b896 | ||
|
|
1f49e2e9fe | ||
|
|
8708b54756 | ||
|
|
021762cf30 | ||
|
|
d8f280315f | ||
|
|
066c278277 | ||
|
|
bdb6a424a8 | ||
|
|
96844f6519 | ||
|
|
1501669819 | ||
|
|
1b86d7fd62 | ||
|
|
deb0f63dff | ||
|
|
d658949f5b | ||
|
|
0e52ccbebb | ||
|
|
4e38e7ddf8 | ||
|
|
49dce7ada7 | ||
|
|
c42cee8d89 | ||
|
|
ebb9f0b8a7 |
@@ -1,5 +1,6 @@
|
||||
[unstable]
|
||||
build-std = ["core", "compiler_builtins"]
|
||||
build-std-features = ["compiler-builtins-mem"]
|
||||
|
||||
[build]
|
||||
target = "x86_64-blog_os.json"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Build Code
|
||||
name: Code
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -16,6 +16,7 @@ jobs:
|
||||
check:
|
||||
name: Check
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [
|
||||
ubuntu-latest,
|
||||
@@ -41,6 +42,7 @@ jobs:
|
||||
test:
|
||||
name: Test
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [
|
||||
ubuntu-latest,
|
||||
13
Cargo.lock
generated
13
Cargo.lock
generated
@@ -1,21 +1,16 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "blog_os"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bootloader",
|
||||
"rlibc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bootloader"
|
||||
version = "0.9.8"
|
||||
version = "0.9.24"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ad686b9b47363de7d36c05fb6885f17d08d0f2d15b1bc782a101fe3c94a2c7c"
|
||||
|
||||
[[package]]
|
||||
name = "rlibc"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fc874b127765f014d792f16763a81245ab80500e2ad921ed4ee9e82481ee08fe"
|
||||
checksum = "c6f4dd3d0a9b440470ea52afcb5f9f09eeefbe36d1d0c29bae397f493d9fddb1"
|
||||
|
||||
@@ -6,4 +6,3 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
bootloader = "0.9.8"
|
||||
rlibc = "1.0.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Blog OS (A Minimal Rust Kernel)
|
||||
|
||||
[](https://github.com/phil-opp/blog_os/actions?query=workflow%3A%22Build+Code%22+branch%3Apost-02)
|
||||
[](https://github.com/phil-opp/blog_os/actions?query=workflow%3A%22Code%22+branch%3Apost-02)
|
||||
|
||||
This repository contains the source code for the [A Minimal Rust Kernel][post] post of the [Writing an OS in Rust](https://os.phil-opp.com) series.
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
extern crate rlibc;
|
||||
|
||||
use core::panic::PanicInfo;
|
||||
|
||||
static HELLO: &[u8] = b"Hello World!";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"llvm-target": "x86_64-unknown-none",
|
||||
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
|
||||
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128",
|
||||
"arch": "x86_64",
|
||||
"target-endian": "little",
|
||||
"target-pointer-width": "64",
|
||||
|
||||
Reference in New Issue
Block a user