Browse Source

MoonchildProductions#1251 - Part 9: Look for hypot in the math library (libm).

https://bugzilla.mozilla.org/show_bug.cgi?id=1351309
https://bugzilla.mozilla.org/show_bug.cgi?id=1309157

I assess this change to be low-risk for the following reasons:

1. It has been in Firefox since version 55 without issues.

2. It's nearly identical to the fix for bug 1309157 which is already in our tree, so that one would be causing problems if this one were going to.

3. Linux, Windows, and BSD are known to have a hypot function in their math libraries.

4. Even if it does break something, it should only break a test and not critical functionality.
pull/24/head
athenian200 2 years ago
committed by Roy Tam
parent
commit
7de03715a5
  1. 2
      js/src/jit-test/tests/ctypes/function-definition.js

2
js/src/jit-test/tests/ctypes/function-definition.js

@ -27,7 +27,7 @@ function test() {
let lib;
try {
lib = ctypes.open(ctypes.libraryName("c"));
lib = ctypes.open(ctypes.libraryName("m"));
} catch (e) {
}
if (!lib)

Loading…
Cancel
Save