auto merge of #11299 : brson/rust/exp10, r=pcwalton
LLVM appears to generate calls to exp10 on ARM and bionic does not define it. This makes code that links to libextra (which I guess does some exponentiation on the stat module) link correctly.
This commit is contained in:
commit
d86cb6a39f
|
@ -28,6 +28,11 @@ double log2( double n )
|
|||
return log( n ) / log( 2 );
|
||||
}
|
||||
|
||||
double exp10( double x )
|
||||
{
|
||||
return pow( 10, x );
|
||||
}
|
||||
|
||||
void telldir()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue