Skip to content

Integration test uefi #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
integration-test: fixes in build.rs
Not exactly sure why this distinction is necessary. But by looking at the
verbose cargo output, I found out that build.rs never found link.ld
  • Loading branch information
phip1611 committed Jun 1, 2025
commit 440180bd9622898fd8cd5a1b49df614e720cd918
4 changes: 2 additions & 2 deletions integration-test/bins/multiboot2_chainloader/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fn main() {
let linker_script = "multiboot2_chainloader/link.ld";
let linker_script = "link.ld";
println!("cargo:rerun-if-changed={linker_script}");
println!("cargo:rustc-link-arg=-T{linker_script}");
println!("cargo:rustc-link-arg=-Tmultiboot2_chainloader/{linker_script}");
}
4 changes: 2 additions & 2 deletions integration-test/bins/multiboot2_payload/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fn main() {
let linker_script = "multiboot2_payload/link.ld";
let linker_script = "link.ld";
println!("cargo:rerun-if-changed={linker_script}");
println!("cargo:rustc-link-arg=-T{linker_script}");
println!("cargo:rustc-link-arg=-Tmultiboot2_payload/{linker_script}");
}