mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00

These appeared in a later nightly. In compiler-builtins we can apply the suggestion, but in `libm` we need to ignore them since `fx::from_bits` is not `const` at the MSRV. `clippy::uninlined_format_args` also seems to have gotten stricter, so fix those here.
compiler-builtins
and libm
This repository contains two main crates:
compiler-builtins
: symbols that the compiler expects to be available at link timelibm
: a Rust implementation of C math libraries, used to provide implementations inocre
.
More details are at compiler-builtins/README.md and libm/README.md.
For instructions on contributing, see CONTRIBUTING.md.
License
libm
may be used under the MIT Licensecompiler-builtins
may be used under the MIT License and the Apache License, Version 2.0 with the LLVM exception.- All original contributions must be under all of: the MIT license, the Apache-2.0 license, and the Apache-2.0 license with the LLVM exception.
More details are in LICENSE.txt and libm/LICENSE.txt.