Skip to content

Commit 2298323

Browse files
committed
The flag --polyglot should be shown for JVM standalones
1 parent 53a6066 commit 2298323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/truffle/launcher_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ def should_print_full_java_command(options, env: {})
332332
out.should include("--jvm")
333333
end
334334

335-
if TruffleRuby.graalvm_home
336-
# These options are only shown in GraalVM, as they are not available in a standalone distribution
335+
if TruffleRuby.graalvm_home or !TruffleRuby.native?
336+
# These options are only shown in GraalVM, they are not available in a native standalone
337337
out.should include("--polyglot")
338338
end
339339
end

0 commit comments

Comments
 (0)