Skip to content

Commit af7f222

Browse files
committed
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 #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, #98652 did it for `alloc`'s `no_global_oom_handling`. Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 9c07efe commit af7f222

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)