godotengine / godotengine/godot-cpp

Why a `[native_extensions]` field in the `test/project/project.godot` ?

Open
#1,860 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
2.7k
Forks
809
Avg merge
1d 3h
Merged PRs (30d)
8

Description

### Godot version

n/a

### godot-cpp version

n/a

### System information

n/a

### Issue description

The `project.godot` in the tests contains a `[native_extensions]` entry:

https://github.com/godotengine/godot-cpp/blob/5910c0e8a2a1ab236016ccfb6983bf018470c4f3/test/project/project.godot#L18-L20

However, as far as I know, this entry has no use:
- searching for `native_extensions` in Godot and Godot-CPP source code doesn't return anything
- no other projects that I know of use this entry
- obviously not providing this entry doesn't prevent the extension from being loaded and used by Godot ;-)

So I think this entry should be removed, as it is misleading (especially since it is totally undocumented and Godot-CPP is most likely regarded as providing "the right way"® of doing thing regarding GDExtension usage)

### Steps to reproduce

n/a

### Minimal reproduction project

n/a

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.