rust/tests/run-make/core-no-fp-fmt-parse/rmake.rs
Oneirical e477488267 Rewrite core-no-fp-fmt-parse in Rust
Rewrite core-no-fp-fmt-parse in Rust

fix: missing import

fix: tidiness check

more tidy checks

remove tidy line length ignore

new helper functions + arg_path generic

fix: remove unused import

delete arg_path, change arg_path to input
2024-03-30 19:40:18 -04:00

18 lines
437 B
Rust

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