Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: ensure no_fp_fmt_parse builds are warning-free #105811

Merged
merged 1 commit into from
Dec 17, 2022

Commits on Dec 16, 2022

  1. core: ensure no_fp_fmt_parse builds are warning-free

    Rust recently introduced a new `unused_imports` warning
    in `no_fp_fmt_parse` builds, which was fixed in
    rust-lang#105434.
    
    To avoid accumulating more over time, let's keep the builds
    warning-free. This ensures projects compiling `core` with
    this custom config do not see the warnings in the future
    and that they can keep enabling `-Dwarnings`.
    
    Similarly, rust-lang#98652 did it
    for `alloc`'s `no_global_oom_handling`.
    
    Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
    ojeda committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    af7f222 View commit details
    Browse the repository at this point in the history