mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Required for rustc 1.61: need to print the link directories in the correct order now
This commit is contained in:
parent
8df97c8ce8
commit
20ff65b103
|
@ -17,9 +17,6 @@ fn main() {
|
|||
String::from_utf8_lossy(&out.stderr),
|
||||
);
|
||||
}
|
||||
println!("cargo:rustc-link-search={}", out_path.to_str().unwrap());
|
||||
println!("cargo:rustc-link-lib=static={}", "mgba-cycle");
|
||||
println!("cargo:rustc-link-lib=elf");
|
||||
|
||||
cc::Build::new()
|
||||
.file("c/test-runner.c")
|
||||
|
@ -28,6 +25,10 @@ fn main() {
|
|||
.debug(true)
|
||||
.compile("test-runner");
|
||||
|
||||
println!("cargo:rustc-link-search={}", out_path.to_str().unwrap());
|
||||
println!("cargo:rustc-link-lib=static={}", "mgba-cycle");
|
||||
println!("cargo:rustc-link-lib=elf");
|
||||
|
||||
let bindings = bindgen::Builder::default()
|
||||
.header("c/test-runner.h")
|
||||
.generate()
|
||||
|
|
Loading…
Reference in a new issue