File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,14 @@ case $repo in
2020 ;;
2121 " gdext" )
2222 mainCrate=" godot"
23+
24+ # TODO consider using `api-custom` + running engine; or alternatively a new `api-custom-json` reading extension_api.json directly.
25+ # This would allow #[cfg(since_api = "4.x")] to work also for in-dev symbols, while those are currently hidden.
26+ #
27+ # Probably not directly helpful, but in case: following code can be used to figure out which `api-4-x` feature is the highest available.
28+ # availableFeatures=$(cargo read-manifest -p godot/Cargo.toml | jq -r '.features | keys[]')
29+ # highestApiFeature=$(echo "$availableFeatures" | grep -oP '^api-4-\d+$' | sort -V | tail -n 1)
30+
2331 # `experimental-godot-api` is needed to allow "only available in ..." labels with #[doc(cfg)].
2432 # Could add experimental-threads in the future, but for now it's unstable and possibly more confusing.
2533 features=" --features experimental-godot-api"
You can’t perform that action at this time.
0 commit comments