Out-of-tree testing is broken with the most recent update from rust-lang/rust because it makes `compiler-builtins` depend on `core` by path, which isn't usually available. In order to enable testing outside of rust-lang/rust, add a new crate `builtins-shim` that uses the same source as `compiler-builtins` but drops the `core` dependency. This has replaced `compiler-builtins` as the workspace member and entrypoint for tests. |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| builtins-shim | ||
| builtins-test | ||
| builtins-test-intrinsics | ||
| ci | ||
| compiler-builtins | ||
| crates | ||
| etc | ||
| libm | ||
| libm-test | ||
| .editorconfig | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| .rustfmt.toml | ||
| Cargo.toml | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| PUBLISHING.md | ||
| README.md | ||
| rust-version | ||
| thumbv6m-linux-eabi.json | ||
| thumbv7em-linux-eabi.json | ||
| thumbv7em-linux-eabihf.json | ||
| thumbv7m-linux-eabi.json | ||
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 incore.
More details are at compiler-builtins/README.md and libm/README.md.
For instructions on contributing, see CONTRIBUTING.md.
License
libmmay be used under the MIT Licensecompiler-builtinsmay 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.