libm
libm copied to clipboard
compiler-builtins-smoke-test fails with: no `_eqf` in the root
$ cargo +nightly bench --all
Compiling cb v0.1.0 (/home/brain/src/libm/crates/compiler-builtins-smoke-test)
Compiling libm v0.2.1 (/home/brain/src/libm)
error[E0432]: unresolved import `crate::_eqf`
--> crates/compiler-builtins-smoke-test/src/../../../src/math/sincosf.rs:128:9
|
128 | use crate::_eqf;
| ^^^^^^^^^^^ no `_eqf` in the root
This is caused by:
$ cat crates/compiler-builtins-smoke-test/src/lib.rs
//! Fake compiler-builtins crate
//!
//! This is used to test that we can source import `libm` into the compiler-builtins crate.
#![allow(dead_code)]
#![no_std]
#[path = "../../../src/math/mod.rs"]
mod libm;
Should _eqf
move to a test module inside of the math module?