From d256d8a9400f7abec319f72c44bd0536152b48c8 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sat, 11 Feb 2023 16:26:42 +0100 Subject: [PATCH] Update to latest ctru-sys and toolchain --- src/lib.rs | 2 -- src/thread.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index eeb1443..dc719d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,4 @@ #![feature(thread_local)] -#![feature(const_btree_new)] -#![feature(let_else)] #![allow(non_camel_case_types)] #![allow(clippy::missing_safety_doc)] diff --git a/src/thread.rs b/src/thread.rs index 86d40d4..a00b301 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -56,7 +56,7 @@ pub unsafe extern "C" fn pthread_create( value: *mut libc::c_void, ) -> libc::c_int { let attr = attr as *const PThreadAttr; - let stack_size = (*attr).stack_size as ctru_sys::size_t; + let stack_size = (*attr).stack_size; let priority = (*attr).priority; let processor_id = (*attr).processor_id;