Skip to content

Commit 643733f

Browse files
Adopt native-image macro changes
1 parent 33c2fe4 commit 643733f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

mx.truffleruby/mx_truffleruby.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ def ruby_testdownstream_sulong(args):
153153
main_class='org.truffleruby.launcher.RubyLauncher',
154154
build_args=[
155155
'--language:llvm',
156-
'--language:ruby',
157156
],
157+
language='ruby',
158158
links=['bin/<exe:ruby>'],
159159
)
160160
],

mx.truffleruby/native-image.properties

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
# This file contains native-image arguments needed to build truffleruby
22
#
33

4-
ImageName = truffleruby
5-
6-
Requires = tool:truffle tool:nfi
7-
8-
LauncherClass = org.truffleruby.launcher.RubyLauncher
9-
LauncherClassPath = languages/ruby/truffleruby-annotations.jar:languages/ruby/truffleruby-shared.jar:lib/graalvm/launcher-common.jar:lib/graalvm/truffleruby-launcher.jar
4+
Requires = language:nfi
105

116
Args = -H:MaxRuntimeCompileMethods=5400 \
127
-H:SubstitutionResources=org/truffleruby/aot/substitutions.json \

0 commit comments

Comments
 (0)