15 lines
381 B
Rust
15 lines
381 B
Rust
// This test checks that the core library of Rust can be compiled without enabling
|
|
// support for formatting and parsing floating-point numbers.
|
|
|
|
use run_make_support::rustc;
|
|
|
|
fn main() {
|
|
rustc()
|
|
.edition("2021")
|
|
.arg("-Dwarnings")
|
|
.crate_type("rlib")
|
|
.input("../../../library/core/src/lib.rs")
|
|
.cfg("no_fp_fmt_parse")
|
|
.run();
|
|
}
|