Skip to content

Check usage of max_level features#627

Merged
KodrAus merged 2 commits intorust-lang:masterfrom
Thomasdezeeuw:check-features
Apr 1, 2024
Merged

Check usage of max_level features#627
KodrAus merged 2 commits intorust-lang:masterfrom
Thomasdezeeuw:check-features

Conversation

@Thomasdezeeuw
Copy link
Copy Markdown
Collaborator

With this change log will to fail to compile if two or more (release_)max_level_* features are used.

Closes #481

With this change log will to fail to compile if two or more
(release_)max_level_* features are used.
@Thomasdezeeuw
Copy link
Copy Markdown
Collaborator Author

Well, at least we know it works: https://github.com/rust-lang/log/actions/runs/8500090037/job/23281579006?pr=627#step:6:51, but accepting this means --all-features won't work any more.

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.

Consider emitting a diagnostic message when multiple incompatible log level features are used

2 participants