aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFenrir <[email protected]>2018-02-11 02:42:22 -0700
committerFenrirWolf <[email protected]>2018-02-11 03:10:13 -0700
commit05e87af94842fcde12bc2f96745f1cefe91e136d (patch)
tree7308c2536170b851a478a1182fbaa825646684fb
parentLink libctru in ctru-sys (diff)
downloadctru-rs-05e87af94842fcde12bc2f96745f1cefe91e136d.tar.xz
ctru-rs-05e87af94842fcde12bc2f96745f1cefe91e136d.zip
Remove build script from examples
-rw-r--r--examples/Cargo.toml2
-rw-r--r--examples/build.rs11
2 files changed, 0 insertions, 13 deletions
diff --git a/examples/Cargo.toml b/examples/Cargo.toml
index 412b5b2..4ced567 100644
--- a/examples/Cargo.toml
+++ b/examples/Cargo.toml
@@ -5,9 +5,7 @@ version = "0.1.0"
[dependencies]
ctru-rs = { path = "../ctru-rs" }
-
[profile.dev]
-lto = true
[profile.release]
lto = true
diff --git a/examples/build.rs b/examples/build.rs
deleted file mode 100644
index cded1d0..0000000
--- a/examples/build.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-use std::env;
-
-fn main() {
- let dkp_path = env::var("DEVKITPRO").unwrap();
-
- println!("cargo:rustc-link-search=native={}/libctru/lib", dkp_path);
- println!("cargo:rustc-link-lib=static={}", match env::var("PROFILE").unwrap().as_str() {
- "debug" => "ctrud",
- _ => "ctru",
- });
-}