From 1e03d8c6b756eb120de9090d7ee24d6f6cb179f7 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Mon, 14 Mar 2022 14:28:17 +0100 Subject: [PATCH] Fixed issues in normal builds --- ctru-rs/Cargo.toml | 2 +- ctru-rs/src/gfx.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctru-rs/Cargo.toml b/ctru-rs/Cargo.toml index 53d39d3..baf2c79 100644 --- a/ctru-rs/Cargo.toml +++ b/ctru-rs/Cargo.toml @@ -19,6 +19,7 @@ pthread-3ds = { git = "https://github.com/Meziu/pthread-3ds.git" } libc = "0.2.116" bitflags = "1.0.0" widestring = "0.2.2" +once_cell = "1.10.0" [build-dependencies] toml = "0.5" @@ -29,7 +30,6 @@ futures = "0.3" time = "0.3.7" tokio = { version = "1.16", features = ["rt", "time", "sync", "macros"] } cfg-if = "1.0.0" -once_cell = "1.10.0" [features] default = ["romfs"] diff --git a/ctru-rs/src/gfx.rs b/ctru-rs/src/gfx.rs index f68f2bc..a516fe5 100644 --- a/ctru-rs/src/gfx.rs +++ b/ctru-rs/src/gfx.rs @@ -5,7 +5,7 @@ use std::cell::RefCell; use std::marker::PhantomData; use std::sync::Mutex; -use crate::error::{Error, Result}; +use crate::error::Result; use crate::services::gspgpu::{self, FramebufferFormat}; use crate::services::ServiceReference;