- Made following Godot Rust: Book/Intro/HelloWorld
- Targets
macOS.arm64
. - Not planning on actively maintaining this, but wanted to share it.
- Following the
HelloWorld
will net you the same result.
- Open
godot
- Import Project
Rust-Godot/godot/project.godot
cd rust/ && cargo build --target aarch64-apple-darwin
-
Made following Godot Rust: Book/Intro/HelloWorld
-
godot/.godot/extension_list.cfg
- Tells Godot wherelibrust.gdextension
is for theProject Tree
. -
godot/librust.gdextension
- Tells Godot how to interop withaarch64-apple-darwin/debug/librust.dylib
and othertargets
. -
rust/target/aarch64-apple-darwin/debug/librust.dylib
- Our compiledlibrary
.
versions
Godot Engine v4.2.1.stable.mono.official.b09f793f5 - https://godotengine.org
Vulkan API 1.2.231 - Forward+ - Using Vulkan Device #0: Apple - Apple M1
librust.gdextension
.
.
.
macos.debug.arm64 = "res://../rust/target/aarch64-apple-darwin/debug/librust.dylib" # Specific to me.
macos.release.arm64 = "res://../rust/target/aarch64-apple-darwin/release/librust.dylib" # Specific to me.