Skip to content

Commit 74699b8

Browse files
committed
Auto merge of rust-lang#105811 - ojeda:Dwarnings-no_fp_fmt_parse, r=Mark-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`.
2 parents 998e1a9 + af7f222 commit 74699b8

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make-fulldeps/core-no-fp-fmt-parse

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include ../tools.mk
22

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

0 commit comments

Comments
 (0)