-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Hello, I've been following A Minimal Rust Kernel tutorial. I am on Creating a Bootimage section. The problem is, even though build finishes successfully, .bin file does not exist. Here's build stdout:
WARNING: `CARGO_MANIFEST_DIR` env variable not set
Building kernel
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
Building bootloader
Finished `release` profile [optimized + debuginfo] target(s) in 0.07s
Created bootimage for `cernel` at `/var/home/erayerdin/Projects/cernel/target/x86_64-cernel/debug/bootimage-cernel.bin`
I do ls target/x86-64_cernel/debug/, which does not show any bin file at all.
Just in case if it is needed, here are some configurations:
# Cargo.toml
[package]
name = "cernel"
version = "0.1.0"
edition = "2024"
[dependencies]
bootloader = "0.9"
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
[[bin]]
name = "cernel"
test = false
bench = false# .cargo/config.toml
[unstable]
json-target-spec = true
build-std = ["core", "compiler_builtins"]
build-std-features = ["compiler-builtins-mem"]
[build]
target = "x86_64-cernel.json"# rust-toolchain.toml
[toolchain]
channel = "nightly"Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels