diff --git a/citro3d-sys/build.rs b/citro3d-sys/build.rs index ac7b8df..dd606b4 100644 --- a/citro3d-sys/build.rs +++ b/citro3d-sys/build.rs @@ -66,8 +66,10 @@ fn main() { .prepend_enum_name(false) .fit_macro_constants(true) .raw_line("use ctru_sys::*;") + .raw_line("use libc::FILE;") .must_use_type("Result") .blocklist_type("u(8|16|32|64)") + .blocklist_type("FILE") .opaque_type("(GPU|GFX)_.*") .opaque_type("float24Uniform_s") .allowlist_file(".*/c3d/.*[.]h") diff --git a/citro3d/Cargo.toml b/citro3d/Cargo.toml index 705d601..b96ca1e 100644 --- a/citro3d/Cargo.toml +++ b/citro3d/Cargo.toml @@ -25,7 +25,7 @@ approx = ["dep:approx"] glam = ["dep:glam"] [dev-dependencies] -test-runner = { git = "https://github.com/rust3ds/test-runner.git" } +test-runner = { git = "https://github.com/rust3ds/ctru-rs.git" } [dev-dependencies.citro3d] # Basically, this works like `cargo 3ds test --features ...` for building tests