]> git.lizzy.rs Git - rust.git/blobdiff - build.rs
Merge pull request #189 from nrc/match
[rust.git] / build.rs
index ac27db564939f1bd2b614dcd72c59d407323372f..3e6d051d9b1d67eda791b4bd418f290954105074 100644 (file)
--- a/build.rs
+++ b/build.rs
@@ -17,11 +17,8 @@ fn main() {
     let in_file = Path::new("src/default.toml");
 
     let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
-    let profile = env::var("PROFILE").unwrap();
     let mut out_file = PathBuf::new();
     out_file.push(manifest_dir);
-    out_file.push("target");
-    out_file.push(profile);
     out_file.push("default.toml");
 
     std::fs::copy(in_file, out_file).unwrap();