Skip to content

Commit 16fc430

Browse files
committed
Fix build errors
1 parent 050265c commit 16fc430

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "kernel"
2+
name = "rust_os"
33
version = "0.1.0"
44
edition = "2021"
55

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ Before building VanaOS, make sure the following are installed on your system:
6565

6666
5. **Build and run the OS**
6767
```bash
68-
cargo bootimage
69-
qemu-system-x86_64 -drive format=raw,file=target/x86_64-unknown-none/debug/bootimage-VanaOS.bin
68+
cargo run
7069
```
7170

7271
6. **Run tests**
@@ -82,8 +81,7 @@ Before building VanaOS, make sure the following are installed on your system:
8281
VanaOS/
8382
├── src/ # Kernel source code
8483
├── Cargo.toml # Project manifest
85-
├── .cargo/config.toml # Build target configuration
86-
└── bootimage.toml # Bootloader config
84+
└── .cargo/config.toml # Build target configuration
8785
```
8886

8987
---

x86_64-rust_os.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"linker": "rust-lld",
1212
"panic-strategy": "abort",
1313
"disable-redzone": true,
14-
"features": "-mmx,-sse,+soft-float"
14+
"features": "-mmx,-sse,+soft-float",
15+
"rustc-abi": "x86-softfloat"
1516
}

0 commit comments

Comments
 (0)