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", - }); -}