From cbafc1a01ba33b337ddbc5e41d4dac6184e275ed Mon Sep 17 00:00:00 2001 From: Fenrir Date: Fri, 1 Dec 2017 22:10:56 -0700 Subject: [PATCH] Better workaround for the `feature(rustc_private)]` issue Now you don't need a janky `Xargo` fork anymore! --- ctr-std/Cargo.toml | 1 + ctru-sys/Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/ctr-std/Cargo.toml b/ctr-std/Cargo.toml index c4cbce4..be1717f 100644 --- a/ctr-std/Cargo.toml +++ b/ctr-std/Cargo.toml @@ -15,6 +15,7 @@ default-features = false [dependencies.ctru-sys] path = "../ctru-sys" +features = ["stdbuild"] [features] citra = [] diff --git a/ctru-sys/Cargo.toml b/ctru-sys/Cargo.toml index 6dc1201..7dd0b02 100644 --- a/ctru-sys/Cargo.toml +++ b/ctru-sys/Cargo.toml @@ -7,3 +7,8 @@ license = "https://en.wikipedia.org/wiki/Zlib_License" [dependencies.libc] version = "0.2" default-features = false + +[features] +# This is a dummy feature that only exists to work around a Xargo issue. +# User code should not enable it. +stdbuild = []