aboutsummaryrefslogtreecommitdiff
path: root/ctr-std
diff options
context:
space:
mode:
authorpanicbit <[email protected]>2017-07-09 20:03:00 +0200
committerpanicbit <[email protected]>2017-07-10 00:01:48 +0200
commit72df21a4b352c0288c1999e0d8e8ef7c12c4de02 (patch)
treeceaa59f078b782ab8c69b420485219ab537465cf /ctr-std
parentUpdate target json (diff)
downloadctru-rs-72df21a4b352c0288c1999e0d8e8ef7c12c4de02.tar.xz
ctru-rs-72df21a4b352c0288c1999e0d8e8ef7c12c4de02.zip
ctr-std: Use liballoc from rust-src
Diffstat (limited to 'ctr-std')
-rw-r--r--ctr-std/Cargo.toml3
-rw-r--r--ctr-std/Xargo.toml2
-rw-r--r--ctr-std/src/lib.rs1
3 files changed, 3 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)]