From f43694d72db10dc1907f07fc4916c3e59c8bd4a6 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sun, 16 Jun 2024 21:50:16 +0200 Subject: [PATCH] Test runner dependency update --- citro3d-sys/build.rs | 2 ++ citro3d/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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