Browse Source

Update to latest ctru-sys and toolchain

pull/20/head
Andrea Ciliberti 2 years ago
parent
commit
d256d8a940
  1. 2
      src/lib.rs
  2. 2
      src/thread.rs

2
src/lib.rs

@ -1,6 +1,4 @@
#![feature(thread_local)] #![feature(thread_local)]
#![feature(const_btree_new)]
#![feature(let_else)]
#![allow(non_camel_case_types)] #![allow(non_camel_case_types)]
#![allow(clippy::missing_safety_doc)] #![allow(clippy::missing_safety_doc)]

2
src/thread.rs

@ -56,7 +56,7 @@ pub unsafe extern "C" fn pthread_create(
value: *mut libc::c_void, value: *mut libc::c_void,
) -> libc::c_int { ) -> libc::c_int {
let attr = attr as *const PThreadAttr; 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 priority = (*attr).priority;
let processor_id = (*attr).processor_id; let processor_id = (*attr).processor_id;

Loading…
Cancel
Save