Skip to content

Commit 1e639c9

Browse files
committed
Add missing moduleInfo needed for building truffle images
1 parent f15e85e commit 1e639c9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

substratevm/mx.substratevm/suite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,7 @@
10901090
"com.oracle.svm.hosted.agent to java.instrument",
10911091
"com.oracle.svm.core.graal.thread to jdk.internal.vm.compiler",
10921092
"com.oracle.svm.core.classinitialization to jdk.internal.vm.compiler",
1093+
"com.oracle.svm.truffle.api to org.graalvm.truffle",
10931094
"* to org.graalvm.nativeimage.driver,org.graalvm.nativeimage.librarysupport,org.graalvm.nativeimage.llvm,com.oracle.svm.svm_enterprise",
10941095
],
10951096
"opens" : [
@@ -1109,6 +1110,8 @@
11091110
],
11101111
"uses" : [
11111112
"org.graalvm.nativeimage.Platform",
1113+
"com.oracle.truffle.api.TruffleLanguage.Provider",
1114+
"com.oracle.truffle.api.instrumentation.TruffleInstrument.Provider",
11121115
],
11131116
"requiresConcealed": {
11141117
"jdk.internal.vm.ci": [

truffle/mx.truffle/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@
860860
],
861861
"exports" : [
862862
# Qualified exports
863-
"com.oracle.truffle.api* to com.oracle.truffle.regex, jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise",
863+
"com.oracle.truffle.api* to com.oracle.truffle.regex, jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise, org.graalvm.nativeimage.builder",
864864
"com.oracle.truffle.api.impl to org.graalvm.locator",
865865
"com.oracle.truffle.api to org.graalvm.locator, com.oracle.truffle.truffle_nfi, org.graalvm.nativeimage.builder",
866866
"com.oracle.truffle.object to jdk.internal.vm.compiler, com.oracle.graal.graal_enterprise",

0 commit comments

Comments
 (0)