(In the "WebAssembly" topic I mentioned offhand that the sqrt intrinsic has problems with becoming stabilized, and @Josh Triplett wanted to know more, but I didn't want to have a tangent in that thread, so I'm pre-emptively forking it to a new thread.)
Basically we could just stabilize the intrinsic, but people are "supposed" to call it via the
f32 method, but we can't put that method into
core because we can't ensure that the
compiler-builtins crate provides a
sqrt function implementation exactly when needed because we don't have LLVM's hard-float/soft-float concepts as target_features within Rust.
Is there any fundamental reason we can't just stabilize the intrinsic anyway? Doesn't have to be the "preferred" interface.
Not that I know of.
Would be a simple RFC