You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build for macOS from Linux for determinism reasons a recent (last week or three?) update to compiler-builtins appears to have started causing issues. Something like RUSTFLAGS="-C target-cpu=apple-a14 -C link-arg=-isysroot/home/matt/Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers -C link-arg=-mmacosx-version-min=10.9 -C link-arg=--target=aarch64-apple-darwin -C link-arg=-mcpu=apple-a14 -C link-arg=-fuse-ld=lld -C link-arg=-mcpu=apple-a14" cargo build --features=std --offline -v --release --target aarch64-apple-darwin -Zbuild-std=std,panic_abort now fails with
error[E0412]: cannot find type `f16` in this scope
--> registry/src/github.spider-man.dpdns.org-1ecc6299db9ec823/compiler_builtins-0.1.112/src/float/extend.rs:91:40
|
91 | pub extern "C" fn __extendhfsf2(a: f16) -> f32 {
| ^^^ help: a builtin type with a similar name exists: `i16`
.....
error[E0635]: unknown feature `f16`
--> registry/src/github.spider-man.dpdns.org-1ecc6299db9ec823/compiler_builtins-0.1.112/src/lib.rs:16:51
|
16 | #![cfg_attr(not(feature = "no-f16-f128"), feature(f16))]