Rebuild waterboxhost on Debian 10

Also fix the build scripts to explicitly use nightly (which waterboxhost does need currently)
This commit is contained in:
CasualPokePlayer 2024-06-17 21:35:57 -07:00
parent 6e5de797d2
commit 4ad33b3d06
6 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -1,3 +1,3 @@
@cargo b --features "no-dirty-detection"
@cargo +nightly b --features "no-dirty-detection"
@copy target\debug\waterboxhost.dll ..\..\Assets\dll
@copy target\debug\waterboxhost.dll ..\..\output\dll

View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ -z "$BIZHAWKBUILD_HOME" ]; then export BIZHAWKBUILD_HOME="$(realpath "$(dirname "$0")/../..")"; fi
cargo b --features "no-dirty-detection"
cargo +nightly b --features "no-dirty-detection"
cp target/debug/libwaterboxhost.so "$BIZHAWKBUILD_HOME/Assets/dll"
if [ -e "$BIZHAWKBUILD_HOME/output" ]; then

View File

@ -1,3 +1,3 @@
@cargo b
@cargo +nightly b
@copy target\debug\waterboxhost.dll ..\..\Assets\dll
@copy target\debug\waterboxhost.dll ..\..\output\dll

2
waterbox/waterboxhost/build-debug.sh Normal file → Executable file
View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ -z "$BIZHAWKBUILD_HOME" ]; then export BIZHAWKBUILD_HOME="$(realpath "$(dirname "$0")/../..")"; fi
cargo b
cargo +nightly b
cp target/debug/libwaterboxhost.so "$BIZHAWKBUILD_HOME/Assets/dll"
if [ -e "$BIZHAWKBUILD_HOME/output" ]; then

2
waterbox/waterboxhost/build-release.sh Normal file → Executable file
View File

@ -1,7 +1,7 @@
#!/bin/sh
if [ -z "$BIZHAWKBUILD_HOME" ]; then export BIZHAWKBUILD_HOME="$(realpath "$(dirname "$0")/../..")"; fi
cargo b --release
cargo +nightly b --release
cp target/release/libwaterboxhost.so "$BIZHAWKBUILD_HOME/Assets/dll"
if [ -e "$BIZHAWKBUILD_HOME/output" ]; then