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
d00e88b804
commit
01923d1580
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user