Add an artifact dependency on the kernel

This commit is contained in:
Philipp Oppermann
2023-04-30 15:40:47 +02:00
parent 0eee1e080b
commit 29c919962f
3 changed files with 6 additions and 2 deletions

2
.cargo/config.toml Normal file
View File

@@ -0,0 +1,2 @@
[unstable]
bindeps = true

3
Cargo.lock generated
View File

@@ -5,6 +5,9 @@ version = 3
[[package]]
name = "blog_os"
version = "0.1.0"
dependencies = [
"kernel",
]
[[package]]
name = "bootloader_api"

View File

@@ -6,6 +6,5 @@ edition = "2021"
[workspace]
members = ["kernel"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
kernel = { path = "kernel", artifact = "bin", target = "x86_64-unknown-none" }