Browse Source

ctr-std: Use liballoc from rust-src

pull/10/head
panicbit 8 years ago
parent
commit
72df21a4b3
  1. 3
      ctr-std/Cargo.toml
  2. 2
      ctr-std/Xargo.toml
  3. 1
      ctr-std/src/lib.rs
  4. 2
      ctru-rs/Xargo.toml

3
ctr-std/Cargo.toml

@ -11,6 +11,3 @@ path = "../ctr-libc"
[dependencies.ctru-sys] [dependencies.ctru-sys]
path = "../ctru-sys" path = "../ctru-sys"
[dependencies.alloc_system]
version = "0.1.1"

2
ctr-std/Xargo.toml

@ -2,6 +2,8 @@
[dependencies.rand] [dependencies.rand]
[dependencies.alloc_system]
[dependencies.ctr-libc] [dependencies.ctr-libc]
path = "../ctr-libc" path = "../ctr-libc"
stage = 1 stage = 1

1
ctr-std/src/lib.rs

@ -1,4 +1,5 @@
#![feature(alloc)] #![feature(alloc)]
#![feature(alloc_system)]
#![feature(allow_internal_unstable)] #![feature(allow_internal_unstable)]
#![feature(box_syntax)] #![feature(box_syntax)]
#![feature(cfg_target_has_atomic)] #![feature(cfg_target_has_atomic)]

2
ctru-rs/Xargo.toml

@ -2,6 +2,8 @@
[dependencies.rand] [dependencies.rand]
[dependencies.alloc_system]
[dependencies.ctr-libc] [dependencies.ctr-libc]
path = "../ctr-libc" path = "../ctr-libc"
stage = 1 stage = 1

Loading…
Cancel
Save