Compare commits
2 Commits
d1f6e18b94
...
8c88cf9cac
Author | SHA1 | Date | |
---|---|---|---|
8c88cf9cac | |||
ea13a6eb56 |
1
rust/.gitignore
vendored
Normal file
1
rust/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/.vscode
|
10
rust/build-debug.sh
Normal file
10
rust/build-debug.sh
Normal 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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user