Skip to content

Conversation

@perazz
Copy link
Member

@perazz perazz commented Jan 21, 2026

Summary

  • Remove the unused default field from feature_config_t that was causing fpm new to generate invalid manifests
  • Add manifest validation test to new_test that verifies generated packages can be built

Fixes #1230

Note: Default features functionality will be addressed in a separate PR.

The 'default' field was being serialized to fpm.toml but was never
used for any logic. This caused 'fpm new' to generate manifests with
an invalid 'default' key that would fail validation during build.

Removes the field declaration, serialization, deserialization, and
all assignments of this unused field.
Verifies that the manifest generated by 'fpm new' is valid by
attempting to build the created package. This catches issues like
invalid keys in the generated fpm.toml.
@perazz perazz merged commit b97d5f8 into fortran-lang:main Jan 22, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package error in fresh fpm project

1 participant