extension: Ensure that compiled extension provides at least one feature (#47715)

This PR adds a check during extension compilation to ensure that every
compiled extension provides at least one feature, as otherwise, the
extension is useless to have.

With this in, compiling an extension that does not provide anything will
fail.

Release Notes:

- N/A
7cfa0fb876Finn Evers committed on 1/28/2026, 1:25:47 PM· committed by GitHubparente29522a
1 file changedLine totals unavailable