Compare commits

...

2 Commits

3 changed files with 13 additions and 0 deletions

1
rust/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.vscode

10
rust/build-debug.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
set -x
cargo build
cd ..
cp -f rust/target/debug/libboids.so addons/boids/lib/boids.x86.so
cp -f rust/target/debug/boids.dll addons/boids/lib/boids.x86.dll

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -x
cross build --release --target x86_64-unknown-linux-gnu cross build --release --target x86_64-unknown-linux-gnu
cross build --release --target x86_64-pc-windows-gnu cross build --release --target x86_64-pc-windows-gnu
cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten