diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2022-12-17 00:19:59 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2022-12-17 00:19:59 +0100 |
| commit | af7f2222d334145d37172d2c45d01277f86c6041 (patch) | |
| tree | 0acfb157b0eab4b5e861bbb76a1a8efea8978070 | |
| parent | 9c07efe84f28a44f3044237696acc295aa407ee5 (diff) | |
| download | rust-af7f2222d334145d37172d2c45d01277f86c6041.tar.gz rust-af7f2222d334145d37172d2c45d01277f86c6041.zip | |
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 https://github.com/rust-lang/rust/pull/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, https://github.com/rust-lang/rust/pull/98652 did it for `alloc`'s `no_global_oom_handling`. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
| -rw-r--r-- | src/test/run-make-fulldeps/core-no-fp-fmt-parse/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make-fulldeps/core-no-fp-fmt-parse/Makefile b/src/test/run-make-fulldeps/core-no-fp-fmt-parse/Makefile index d083aaa6620..ec05ebea555 100644 --- a/src/test/run-make-fulldeps/core-no-fp-fmt-parse/Makefile +++ b/src/test/run-make-fulldeps/core-no-fp-fmt-parse/Makefile @@ -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 |
