Skip to content

Commit 333677c

Browse files
committed
[GR-63074] Support FFM API on macOS/x64.
PullRequest: graal/20469
2 parents 75065b8 + 16a6f27 commit 333677c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

substratevm/src/com.oracle.svm.core.foreign/src/com/oracle/svm/core/foreign/ForeignFunctionsRuntime.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ public ForeignFunctionsRuntime(AbiUtils abiUtils) {
9292

9393
public static boolean areFunctionCallsSupported() {
9494
return switch (CABI.current()) {
95-
case CABI.SYS_V -> !OS.DARWIN.isCurrent(); // GR-63074: code emit failures on
96-
// darwin-amd64
97-
case CABI.WIN_64, CABI.MAC_OS_AARCH_64, CABI.LINUX_AARCH_64 -> true;
95+
case CABI.SYS_V, CABI.WIN_64, CABI.MAC_OS_AARCH_64, CABI.LINUX_AARCH_64 -> true;
9896
default -> false;
9997
};
10098
}

0 commit comments

Comments
 (0)