From 72df21a4b352c0288c1999e0d8e8ef7c12c4de02 Mon Sep 17 00:00:00 2001 From: panicbit Date: Sun, 9 Jul 2017 20:03:00 +0200 Subject: [PATCH] ctr-std: Use liballoc from rust-src --- ctr-std/Cargo.toml | 3 --- ctr-std/Xargo.toml | 2 ++ ctr-std/src/lib.rs | 1 + ctru-rs/Xargo.toml | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ctr-std/Cargo.toml b/ctr-std/Cargo.toml index b7f6da1..4f09726 100644 --- a/ctr-std/Cargo.toml +++ b/ctr-std/Cargo.toml @@ -11,6 +11,3 @@ path = "../ctr-libc" [dependencies.ctru-sys] path = "../ctru-sys" - -[dependencies.alloc_system] -version = "0.1.1" diff --git a/ctr-std/Xargo.toml b/ctr-std/Xargo.toml index 7d069ba..e1901fa 100644 --- a/ctr-std/Xargo.toml +++ b/ctr-std/Xargo.toml @@ -2,6 +2,8 @@ [dependencies.rand] +[dependencies.alloc_system] + [dependencies.ctr-libc] path = "../ctr-libc" stage = 1 diff --git a/ctr-std/src/lib.rs b/ctr-std/src/lib.rs index 7a520b8..5b8c532 100644 --- a/ctr-std/src/lib.rs +++ b/ctr-std/src/lib.rs @@ -1,4 +1,5 @@ #![feature(alloc)] +#![feature(alloc_system)] #![feature(allow_internal_unstable)] #![feature(box_syntax)] #![feature(cfg_target_has_atomic)] diff --git a/ctru-rs/Xargo.toml b/ctru-rs/Xargo.toml index e912cab..339cf5b 100644 --- a/ctru-rs/Xargo.toml +++ b/ctru-rs/Xargo.toml @@ -2,6 +2,8 @@ [dependencies.rand] +[dependencies.alloc_system] + [dependencies.ctr-libc] path = "../ctr-libc" stage = 1