Don't copy DLL files outside of the workspace target folder
@@ -126,8 +126,6 @@ pub fn build(stream: proc_macro::TokenStream) -> proc_macro::TokenStream {
}
let mut destination: ::std::path::PathBuf = #target_dir.into();
- destination.pop();
- destination.pop();
let profile = ::std::env::var("PROFILE").expect("No `PROFILE` env variable set");
copy_to_profile(&source, &destination, &profile);
