diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-09-23 11:58:22 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-09-25 10:38:21 -0700 |
| commit | 6a52c094408370a3bd60ed0976211995ef52fc23 (patch) | |
| tree | 4d76c9a265518cf659910632f2ae9c615a5d679e /library/std/src/lib.rs | |
| parent | 2049052cb9880c97bb289a086815576f5aabc6c9 (diff) | |
| download | rust-6a52c094408370a3bd60ed0976211995ef52fc23.tar.gz rust-6a52c094408370a3bd60ed0976211995ef52fc23.zip | |
Add new feature gate to standard library
Diffstat (limited to 'library/std/src/lib.rs')
| -rw-r--r-- | library/std/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index ac0075ad129..d03428dd082 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -236,6 +236,7 @@ #![feature(clamp)] #![feature(concat_idents)] #![feature(const_cstr_unchecked)] +#![cfg_attr(not(bootstrap), feature(const_fn_floating_point_arithmetic))] #![feature(const_fn_transmute)] #![feature(const_fn)] #![feature(const_ip)] |
