Skip to content

Commit 5f7f785

Browse files
bors[bot]64
andcommitted
45: Pass location of kernel's Cargo.toml to bootloader r=phil-opp a=64 As discussed in rust-osdev#44. Co-authored-by: Matt Taylor <mstaveleytaylor@gmail.com>
2 parents 10df873 + 42a9b15 commit 5f7f785

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)