core: ensure no_fp_fmt_parse
builds are warning-free · rust-lang/rust@af7f222 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit af7f222
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 ojeda@kernel.org
File tree
1 file changed
lines changed
- src/test/run-make-fulldeps/core-no-fp-fmt-parse
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
1 | 1 | include ../tools.mk |
2 | 2 | |
3 | 3 | 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 |