Compare commits
2 Commits
6fe25a5c01
...
c9d4d04979
Author | SHA1 | Date | |
---|---|---|---|
c9d4d04979 | |||
7199443877 |
@ -10,6 +10,8 @@ linux.release.x86_64 = "res://addons/boids/lib/libboids.x86.so"
|
||||
windows.release.x86_64 = "res://addons/boids/lib/boids.x86.dll"
|
||||
macos.release = "res://addons/boids/lib/libboids.x86.dylib"
|
||||
macos.release.arm64 = "res://addons/boids/lib/libboids.arm64.dylib"
|
||||
web.debug.wasm32 = "res://rust/target/wasm32-unknown-emscripten/debug/boids.wasm"
|
||||
web.release.wasm32 = "res://addons/boids/lib/boids.wasm"
|
||||
|
||||
[icons]
|
||||
BoidProperties = "res://addons/boids/resources/boid_properties.svg"
|
||||
|
BIN
addons/boids/lib/boids.wasm
(Stored with Git LFS)
Normal file
BIN
addons/boids/lib/boids.wasm
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
addons/boids/lib/boids.x86.dll
(Stored with Git LFS)
BIN
addons/boids/lib/boids.x86.dll
(Stored with Git LFS)
Binary file not shown.
7
rust/.cargo/config.toml
Normal file
7
rust/.cargo/config.toml
Normal file
@ -0,0 +1,7 @@
|
||||
[target.wasm32-unknown-emscripten]
|
||||
rustflags = [
|
||||
"-C", "link-args=-sSIDE_MODULE=2",
|
||||
"-C", "link-args=-pthread", # was -sUSE_PTHREADS=1 in earlier emscripten versions
|
||||
"-C", "target-feature=+atomics,+bulk-memory,+mutable-globals",
|
||||
"-Zlink-native-libraries=no"
|
||||
]
|
@ -10,11 +10,14 @@ crate-type = ["cdylib"]
|
||||
stats = []
|
||||
|
||||
[dependencies]
|
||||
godot = { git = "https://github.com/godot-rust/gdext", branch = "master", features = ["api-4-3", "experimental-threads", "register-docs"] }
|
||||
godot = { git = "https://github.com/godot-rust/gdext", branch = "master", features = ["api-4-3", "register-docs"] }
|
||||
glam = { version = "0.28", features = ["fast-math"] }
|
||||
rayon = { version = "1.10" }
|
||||
rustc-hash = "2"
|
||||
indexmap = "2.4.0"
|
||||
|
||||
[target.wasm32-unknown-emscripten.dependencies]
|
||||
godot = { git = "https://github.com/godot-rust/gdext", branch = "master", features = ["api-4-3", "register-docs", "experimental-wasm", "lazy-function-tables"] }
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 3
|
||||
opt-level = 1
|
3
rust/rust-toolchain.toml
Normal file
3
rust/rust-toolchain.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly"
|
||||
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "wasm32-unknown-emscripten"]
|
Loading…
Reference in New Issue
Block a user