Skip to content

config: enable c14 by default#1016

Merged
BrettMayson merged 3 commits intounusedExternfrom
unusedExternEnabledByDefault
Jun 25, 2025
Merged

config: enable c14 by default#1016
BrettMayson merged 3 commits intounusedExternfrom
unusedExternEnabledByDefault

Conversation

@BrettMayson
Copy link
Copy Markdown
Owner

@BrettMayson BrettMayson commented Jun 24, 2025

image

Similar to the unused stringtables

If we go this way instead, do we want to add paths to ignore?

I'm also ok reverting the -Lc14 thing, to be honest I started that, then remembered txt files exist, and did both, but I don't think we need it. it changes the lints to pass RuntimeArguments rather than just the bool for pedantic, and those arguments are passed down to the lints, means every lint needs to be modified to add that, but we can reuse that in the future to pass more runtime info down to the lints if needed

Only going to bother with tests if you're ok going this way

@BrettMayson BrettMayson requested a review from PabstMirror June 24, 2025 12:14
@PabstMirror
Copy link
Copy Markdown
Collaborator

I still am not sure if c14 is useful
but all the clockwork done for this PR looks great

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
@BrettMayson BrettMayson merged commit 0bcbc0c into unusedExtern Jun 25, 2025
0 of 10 checks passed
@BrettMayson BrettMayson deleted the unusedExternEnabledByDefault branch June 25, 2025 20:00
BrettMayson added a commit that referenced this pull request Jun 26, 2025
* config: C14 Check unused externs

* indexmap, add test

* clippy

* config: enable c14 by default (#1016)

* config: enable c14 by default

* change message

* Update bin/src/commands/check.rs

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* Always create .hemttout (for testing)

---------

Co-authored-by: BrettMayson <brett@mayson.io>
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.

2 participants