Print expected os.arch tuple for current platform in GDExtension error

This also adds `Engine.get_architecture_name()` to get the name of the
CPU architecture the Godot binary was built for.
This commit is contained in:
Hugo Locurcio
2022-07-20 19:05:49 +02:00
parent 862dedcefe
commit 27a072c884
6 changed files with 64 additions and 3 deletions

View File

@ -142,6 +142,8 @@ public:
void set_write_movie_path(const String &p_path);
String get_write_movie_path() const;
String get_architecture_name() const;
void set_shader_cache_path(const String &p_path);
String get_shader_cache_path() const;