mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
Currently the features that control what we test against are `build-musl` and `test-multiprecision`. I didn't name them very consistently and there isn't really any reason for that. Rename `test-multiprecision` to `build-mpfr` to better reflect what it actually does and to be more consistent with `build-musl`.
15 lines
279 B
Rust
15 lines
279 B
Rust
//! `main` is just a wrapper to handle configuration.
|
|
|
|
#[cfg(not(feature = "build-mpfr"))]
|
|
fn main() {
|
|
eprintln!("multiprecision not enabled; skipping extensive tests");
|
|
}
|
|
|
|
#[cfg(feature = "build-mpfr")]
|
|
mod run;
|
|
|
|
#[cfg(feature = "build-mpfr")]
|
|
fn main() {
|
|
run::run();
|
|
}
|