diff options
Diffstat (limited to 'zluda_inject/build.rs')
-rw-r--r-- | zluda_inject/build.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zluda_inject/build.rs b/zluda_inject/build.rs index 743e708..1e425a7 100644 --- a/zluda_inject/build.rs +++ b/zluda_inject/build.rs @@ -50,6 +50,15 @@ fn main() -> Result<(), VarError> { .arg(full_file_path);
assert!(rustc_cmd.status().unwrap().success());
}
+ std::fs::copy(
+ format!(
+ "{}{}do_cuinit_main_clr.exe",
+ helpers_dir_as_string,
+ path::MAIN_SEPARATOR
+ ),
+ format!("{}{}do_cuinit_main_clr.exe", out_dir, path::MAIN_SEPARATOR),
+ )
+ .unwrap();
println!("cargo:rustc-env=HELPERS_OUT_DIR={}", &out_dir);
Ok(())
}
|