forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 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(); | ||
} |