mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Use debug, try to fix windows path
This commit is contained in:
parent
a46789013c
commit
16cc1c62a1
@ -24,7 +24,6 @@ impl LoadedLib {
|
|||||||
.stderr(Stdio::inherit())
|
.stderr(Stdio::inherit())
|
||||||
.stdout(Stdio::inherit())
|
.stdout(Stdio::inherit())
|
||||||
.arg("build")
|
.arg("build")
|
||||||
.arg("--release")
|
|
||||||
.arg("--package")
|
.arg("--package")
|
||||||
.arg("veloren-voxygen-anim")
|
.arg("veloren-voxygen-anim")
|
||||||
.output()
|
.output()
|
||||||
@ -35,9 +34,9 @@ impl LoadedLib {
|
|||||||
|
|
||||||
fn load() -> Self {
|
fn load() -> Self {
|
||||||
#[cfg(target_os = "windows")]
|
#[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"))]
|
#[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 }
|
Self { lib }
|
||||||
}
|
}
|
||||||
@ -83,7 +82,6 @@ fn reload() {
|
|||||||
.stderr(Stdio::inherit())
|
.stderr(Stdio::inherit())
|
||||||
.stdout(Stdio::inherit())
|
.stdout(Stdio::inherit())
|
||||||
.arg("build")
|
.arg("build")
|
||||||
.arg("--release")
|
|
||||||
.arg("--package")
|
.arg("--package")
|
||||||
.arg("veloren-voxygen-anim")
|
.arg("veloren-voxygen-anim")
|
||||||
.output()
|
.output()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user