Skip to content

Commit fbf8fc0

Browse files
committed
Update link to book compatibility page
1 parent e3b60af commit fbf8fc0

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

godot-ffi/src/toolbox.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,8 @@ pub(crate) fn load_class_method(
350350

351351
if method.is_null() {
352352
panic!(
353-
"Failed to load class method {}::{} (hash {}).\n\
354-
Make sure gdext and Godot are compatible: https://godot-rust.github.io/book/gdext/advanced/compatibility.html",
355-
class_name,
356-
method_name,
357-
hash
353+
"Failed to load class method {}::{} (hash {}).{INFO}",
354+
class_name, method_name, hash
358355
)
359356
}
360357

@@ -421,7 +418,7 @@ pub(crate) fn read_version_string(version_ptr: &sys::GDExtensionGodotVersion) ->
421418
.to_string()
422419
}
423420

424-
const INFO: &str = "\nMake sure gdext and Godot are compatible: https://godot-rust.github.io/book/gdext/advanced/compatibility.html";
421+
const INFO: &str = "\nMake sure gdext and Godot are compatible: https://godot-rust.github.io/book/toolchain/compatibility.html";
425422

426423
// ----------------------------------------------------------------------------------------------------------------------------------------------
427424
// Private abstractions

0 commit comments

Comments
 (0)