Skip to content

Commit 39d54b5

Browse files
committed
Add macos.release.arm64 config in all .gdextension files
1 parent 04c2323 commit 39d54b5

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

ReadMe.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ To register the GDExtension library with Godot, you need to create two files rel
6666
windows.release.x86_64 = "res://../rust/target/release/{my_ext}.dll"
6767
macos.debug = "res://../rust/target/debug/{my_ext}.dylib"
6868
macos.release = "res://../rust/target/release/{my_ext}.dylib"
69+
macos.debug.arm64 = "res://../rust/target/aarch64-apple-darwin/debug/{my_ext}.dylib"
70+
macos.release.arm64 = "res://../rust/target/aarch64-apple-darwin/release/{my_ext}.dylib"
6971
```
7072
(Note that for exporting your project, you'll need to use paths inside `res://`).
7173

examples/dodge-the-creeps/godot/DodgeTheCreeps.gdextension

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ entry_symbol = "gdext_rust_init"
44
[libraries]
55
linux.debug.x86_64 = "res://../../../target/debug/libdodge_the_creeps.so"
66
linux.release.x86_64 = "res://../../../target/release/libdodge_the_creeps.so"
7-
macos.debug = "res://../../../target/debug/libdodge_the_creeps.dylib"
8-
macos.release = "res://../../../target/release/libdodge_the_creeps.dylib"
97
windows.debug.x86_64 = "res://../../../target/debug/dodge_the_creeps.dll"
108
windows.release.x86_64 = "res://../../../target/release/dodge_the_creeps.dll"
9+
macos.debug = "res://../../../target/debug/libdodge_the_creeps.dylib"
10+
macos.release = "res://../../../target/release/libdodge_the_creeps.dylib"
11+
macos.debug.arm64 = "res://../../../target/aarch64-apple-darwin/debug/libdodge_the_creeps.dylib"
12+
macos.release.arm64 = "res://../../../target/aarch64-apple-darwin/release/libdodge_the_creeps.dylib"

itest/godot/itest.gdextension

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
entry_symbol = "itest_init"
33

44
[libraries]
5-
linux.x86_64 = "res://../../target/debug/libitest.so"
6-
windows.x86_64 = "res://../../target/debug/itest.dll"
7-
macos = "res://../../target/debug/libitest.dylib"
5+
linux.debug.x86_64 = "res://../../target/debug/libitest.so"
6+
linux.release.x86_64 = "res://../../target/release/libitest.so"
7+
windows.debug.x86_64 = "res://../../target/debug/itest.dll"
8+
windows.release.x86_64 = "res://../../target/release/itest.dll"
9+
macos.debug = "res://../../target/debug/libitest.dylib"
10+
macos.release = "res://../../target/release/libitest.dylib"
11+
macos.debug.arm64 = "res://../../target/aarch64-apple-darwin/debug/libitest.dylib"
12+
macos.release.arm64 = "res://../../target/aarch64-apple-darwin/release/libitest.dylib"

0 commit comments

Comments
 (0)