Compare commits

..

No commits in common. "848d528d514f362048d04d0947020b47ae5ace24" and "c9d4d04979a3889bd24aa574ca1793324cf248d6" have entirely different histories.

6 changed files with 4 additions and 13 deletions

View File

@ -6,10 +6,10 @@ reloadable = true
[libraries] [libraries]
linux.debug.x86_64 = "res://rust/target/debug/libboids.so" linux.debug.x86_64 = "res://rust/target/debug/libboids.so"
windows.debug.x86_64 = "res://rust/target/debug/boids.dll" windows.debug.x86_64 = "res://rust/target/debug/boids.dll"
linux.release.x86_64 = "res://addons/boids/lib/boids.x86.so" linux.release.x86_64 = "res://addons/boids/lib/libboids.x86.so"
windows.release.x86_64 = "res://addons/boids/lib/boids.x86.dll" windows.release.x86_64 = "res://addons/boids/lib/boids.x86.dll"
macos.release = "res://addons/boids/lib/boids.x86.dylib" macos.release = "res://addons/boids/lib/libboids.x86.dylib"
macos.release.arm64 = "res://addons/boids/lib/boids.arm64.dylib" macos.release.arm64 = "res://addons/boids/lib/libboids.arm64.dylib"
web.debug.wasm32 = "res://rust/target/wasm32-unknown-emscripten/debug/boids.wasm" web.debug.wasm32 = "res://rust/target/wasm32-unknown-emscripten/debug/boids.wasm"
web.release.wasm32 = "res://addons/boids/lib/boids.wasm" web.release.wasm32 = "res://addons/boids/lib/boids.wasm"

BIN
addons/boids/lib/boids.wasm Executable file → Normal file

Binary file not shown.

BIN
addons/boids/lib/boids.x86.dll Executable file → Normal file

Binary file not shown.

Binary file not shown.

View File

@ -4,4 +4,4 @@ rustflags = [
"-C", "link-args=-pthread", # was -sUSE_PTHREADS=1 in earlier emscripten versions "-C", "link-args=-pthread", # was -sUSE_PTHREADS=1 in earlier emscripten versions
"-C", "target-feature=+atomics,+bulk-memory,+mutable-globals", "-C", "target-feature=+atomics,+bulk-memory,+mutable-globals",
"-Zlink-native-libraries=no" "-Zlink-native-libraries=no"
] ]

View File

@ -1,9 +0,0 @@
#!/bin/sh
cross build --release --target x86_64-unknown-linux-gnu
cross build --release --target x86_64-pc-windows-gnu
cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten
mv target/x86_64-unknown-linux-gnu/release/libboids.so ../addons/boids/lib/boids.x86.so
mv target/x86_64-pc-windows-gnu/release/boids.dll ../addons/boids/lib/boids.x86.dll
mv target/wasm32-unknown-emscripten/release/boids.wasm ../addons/boids/lib/boids.wasm