Browse Source

Fixed nits

pull/92/head
Andrea Ciliberti 2 years ago
parent
commit
502bcebe34
  1. 2
      ctru-rs/Cargo.toml
  2. 9
      ctru-rs/src/lib.rs

2
ctru-rs/Cargo.toml

@ -16,7 +16,7 @@ cfg-if = "1.0" @@ -16,7 +16,7 @@ cfg-if = "1.0"
ctru-sys = { path = "../ctru-sys", version = "0.4" }
const-zero = "0.1.0"
linker-fix-3ds = { git = "https://github.com/rust3ds/rust-linker-fix-3ds.git" }
pthread-3ds = {git = "https://github.com/rust3ds/pthread-3ds.git" }
pthread-3ds = { git = "https://github.com/rust3ds/pthread-3ds.git" }
libc = "0.2.121"
bitflags = "1.0.0"
widestring = "0.2.2"

9
ctru-rs/src/lib.rs

@ -7,12 +7,9 @@ @@ -7,12 +7,9 @@
#![feature(nonnull_slice_from_raw_parts)]
#![test_runner(test_runner::run)]
// These functions are imported to assure ´cargo´ we need to link the crates.
// These don't need to run to link the functions properly!
#[allow(unused_imports)]
use linker_fix_3ds::init as link_init;
#[allow(unused_imports)]
use pthread_3ds::init as pthread_init;
// Nothing is imported from these crates but their inclusion here assures correct linking of the missing implementations.
extern crate linker_fix_3ds;
extern crate pthread_3ds;
#[no_mangle]
#[cfg(feature = "big-stack")]

Loading…
Cancel
Save