Skip to content

Commit a5349eb

Browse files
committed
fixup! Add support for f128 integer exponentiation
1 parent 8df3036 commit a5349eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testcrate/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,9 @@ macro_rules! apfloat_fallback {
342342
// `__multf3` is now available in nightly, but `__divtf3` is not yet. Provide a fallback until
343343
// that happens.
344344
#[no_mangle]
345+
#[linkage = "weak"]
345346
#[cfg(target_env = "msvc")]
346-
#[cfg(not(feature = "no-f16-f128"))]
347+
#[cfg(all(feature = "mangled-names", not(feature = "no-f16-f128")))]
347348
pub extern "C" fn __divtf3(a: f128, b: f128) -> f128 {
348349
compiler_builtins::float::div::__divtf3(a, b)
349350
}

0 commit comments

Comments
 (0)