Skip to content

Commit bc78d86

Browse files
committed
rt: Define exp10 on Android
LLVM appears to generate calls to exp10 on ARM and bionic does not define it.
1 parent a1cb8dc commit bc78d86

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rt/rust_android_dummy.c

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ double log2( double n )
2828
return log( n ) / log( 2 );
2929
}
3030

31+
double exp10( double x )
32+
{
33+
return pow( 10, x );
34+
}
35+
3136
void telldir()
3237
{
3338
}

0 commit comments

Comments
 (0)