Use debug, try to fix windows path

This commit is contained in:
Imbris 2020-06-17 20:09:12 -04:00
parent d00e88b804
commit 01923d1580

View File

@ -24,7 +24,6 @@ impl LoadedLib {
.stderr(Stdio::inherit())
.stdout(Stdio::inherit())
.arg("build")
.arg("--release")
.arg("--package")
.arg("veloren-voxygen-anim")
.output()
@ -35,9 +34,9 @@ impl LoadedLib {
fn load() -> Self {
#[cfg(target_os = "windows")]
let lib = Library::new("../target/release/libvoxygen_anim.dll").unwrap();
let lib = Library::new("../target/debug/voxygen_anim.dll").unwrap();
#[cfg(not(target_os = "windows"))]
let lib = Library::new("../target/release/libvoxygen_anim.so").unwrap();
let lib = Library::new("../target/debug/libvoxygen_anim.so").unwrap();
Self { lib }
}
@ -83,7 +82,6 @@ fn reload() {
.stderr(Stdio::inherit())
.stdout(Stdio::inherit())
.arg("build")
.arg("--release")
.arg("--package")
.arg("veloren-voxygen-anim")
.output()