rust-lang/compiler-builtins

Rust implementations of compiler-rt and libm

518

stars

3,220

commits

Rust

primary language

Sep 8, 2026

updated

README

compiler-builtins and libm

This repository contains two main crates:

  • compiler-builtins: symbols that the compiler expects to be available at link time
  • libm: a Rust implementation of C math libraries, used to provide implementations in core.

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 License
  • compiler-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.

Contributors

(top 30 of 223)

tgross35

951 commits

Amanieu

332 commits

bors

320 commits

alexcrichton

312 commits

rust-lang/compiler-builtins

Rust implementations of compiler-rt and libm

518

stars

3,220

commits

Rust

primary language

Sep 8, 2026

updated

README

compiler-builtins and libm

This repository contains two main crates:

  • compiler-builtins: symbols that the compiler expects to be available at link time
  • libm: a Rust implementation of C math libraries, used to provide implementations in core.

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 License
  • compiler-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.

Contributors

(top 30 of 223)

tgross35

951 commits

Amanieu

332 commits

bors

320 commits

alexcrichton

312 commits

Languages

Rust

93.4%

Assembly

3.2%

Python

1.5%

Shell

1.0%