Skip to content

[byteorder] Add cfg no_fp_fmt_parse#3429

Open
eiffel-fl wants to merge 1 commit into
google:mainfrom
eiffel-fl:francis/no_fp_fmt_parse
Open

[byteorder] Add cfg no_fp_fmt_parse#3429
eiffel-fl wants to merge 1 commit into
google:mainfrom
eiffel-fl:francis/no_fp_fmt_parse

Conversation

@eiffel-fl
Copy link
Copy Markdown

This cfg deactivates Debug and Display for floatting point numbers, this is particluarly useful in kernel context.
The implementation is inspired by:
rust-lang/rust@ec7292ad3c35

Fixes #3426

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (bc0bb77) to head (97f7f64).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3429   +/-   ##
=======================================
  Coverage   91.85%   91.85%           
=======================================
  Files          20       20           
  Lines        6093     6093           
=======================================
  Hits         5597     5597           
  Misses        496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@joshlf joshlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for this! If you rebase on main, the CI errors should go away (fixed by #3430)

@joshlf joshlf enabled auto-merge June 3, 2026 20:59
auto-merge was automatically disabled June 4, 2026 14:56

Head branch was pushed to by a user without write access

@eiffel-fl eiffel-fl force-pushed the francis/no_fp_fmt_parse branch 2 times, most recently from 248cab7 to eee33ee Compare June 4, 2026 14:59
This cfg deactivates Debug and Display for floatting point numbers, this is
particluarly useful in kernel context.
The implementation is inspired by:
rust-lang/rust@ec7292ad3c35

Fixes google#3426
@eiffel-fl eiffel-fl force-pushed the francis/no_fp_fmt_parse branch from eee33ee to 97f7f64 Compare June 5, 2026 06:32
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.

Linux kernel: cfg(no_fp_fmt_parse)

3 participants