Browse Source

Better workaround for the `feature(rustc_private)]` issue

Now you don't need a janky `Xargo` fork anymore!
pull/10/head
Fenrir 7 years ago committed by FenrirWolf
parent
commit
cbafc1a01b
  1. 1
      ctr-std/Cargo.toml
  2. 5
      ctru-sys/Cargo.toml

1
ctr-std/Cargo.toml

@ -15,6 +15,7 @@ default-features = false
[dependencies.ctru-sys] [dependencies.ctru-sys]
path = "../ctru-sys" path = "../ctru-sys"
features = ["stdbuild"]
[features] [features]
citra = [] citra = []

5
ctru-sys/Cargo.toml

@ -7,3 +7,8 @@ license = "https://en.wikipedia.org/wiki/Zlib_License"
[dependencies.libc] [dependencies.libc]
version = "0.2" version = "0.2"
default-features = false 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 = []

Loading…
Cancel
Save