Merge pull request #68271 from paddy-exe/gdextension-library-loading-error

GDExtension: Improve error message for invalid library feature flags
This commit is contained in:
Rémi Verschelde 2022-11-07 17:44:43 +01:00 committed by GitHub
commit b61fda9d2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,7 @@ void GDExtensionExportPlugin::_export_file(const String &p_path, const String &p
for (const String &E : p_features) { for (const String &E : p_features) {
tags.append(E); tags.append(E);
} }
ERR_FAIL_MSG(vformat("Couldn't export extension: %s. No suitable library found for export flags: %s", p_path, String(", ").join(tags))); ERR_FAIL_MSG(vformat("No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s", p_path, String(", ").join(tags)));
} }
List<String> dependencies; List<String> dependencies;