Skip to content

Commit 42a9b15

Browse files
committed
Pass location of kernel's Cargo.toml to bootloader
1 parent 10df873 commit 42a9b15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ impl Builder {
232232
cmd.arg("--target").arg(&bootloader_target);
233233
cmd.arg("--release");
234234
cmd.env("KERNEL", kernel_bin_path);
235+
cmd.env("KERNEL_MANIFEST", &self.kernel_manifest_path);
235236
cmd.env_remove("RUSTFLAGS");
236237
cmd.env("XBUILD_SYSROOT_PATH", target_dir.join("bootloader-sysroot")); // for cargo-xbuild
237238
cmd

0 commit comments

Comments
 (0)