Skip to content

Commit

Permalink
Increment the API version for Rust and C++
Browse files Browse the repository at this point in the history
  • Loading branch information
fwsGonzo committed Sep 14, 2024
1 parent a62d7a4 commit bef9d82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion program/cpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ usage() {

locally=false
verbose=false
current_version=5
current_version=6
CPPFLAGS="-g -O2 -std=gnu++23 -DVERSION=$current_version -fno-stack-protector -fno-threadsafe-statics"

while [[ "$#" -gt 0 ]]; do
Expand Down
2 changes: 1 addition & 1 deletion program/rust/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ usage() {

locally=false
verbose=false
current_version=4
current_version=5

while [[ "$#" -gt 0 ]]; do
case $1 in
Expand Down
2 changes: 1 addition & 1 deletion program/rust/src/godot/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ impl Engine
// Godot Rust API version embedded in the binary
global_asm!(
".pushsection .comment",
".string \"Godot Rust API v4\"",
".string \"Godot Rust API v5\"",
".popsection",
);

0 comments on commit bef9d82

Please sign in to comment.