Skip to content

Commit

Permalink
Auto merge of rust-lang#105811 - ojeda:Dwarnings-no_fp_fmt_parse, r=M…
Browse files Browse the repository at this point in the history
…ark-Simulacrum

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`.
  • Loading branch information
bors committed Dec 17, 2022
2 parents 998e1a9 + af7f222 commit 74699b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-make-fulldeps/core-no-fp-fmt-parse/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../tools.mk

all:
$(RUSTC) --edition=2021 --crate-type=rlib ../../../../library/core/src/lib.rs --cfg no_fp_fmt_parse
$(RUSTC) --edition=2021 -Dwarnings --crate-type=rlib ../../../../library/core/src/lib.rs --cfg no_fp_fmt_parse

0 comments on commit 74699b8

Please sign in to comment.