File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
lkql_jit/cli/src/main/java/com/adacore/lkql_jit/drivers Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 16
16
import org .graalvm .launcher .AbstractLanguageLauncher ;
17
17
import org .graalvm .options .OptionCategory ;
18
18
import org .graalvm .polyglot .Context ;
19
+ import org .graalvm .polyglot .Engine ;
19
20
import org .graalvm .polyglot .Source ;
20
21
import org .graalvm .polyglot .Value ;
21
22
import picocli .CommandLine ;
@@ -257,6 +258,12 @@ protected int executeScript(Context.Builder contextBuilder) {
257
258
}
258
259
contextBuilder .option ("lkql.ruleInstances" , JsonUtils .serializeInstances (instances ));
259
260
261
+ contextBuilder .engine (
262
+ Engine .newBuilder ()
263
+ .allowExperimentalOptions (true )
264
+ .option ("engine.Compilation" , "false" )
265
+ .build ());
266
+
260
267
// Create the context and run the script in it
261
268
try (Context context = contextBuilder .build ()) {
262
269
final Source source = Source .newBuilder ("lkql" , checkerSource , "checker.lkql" ).build ();
You can’t perform that action at this time.
0 commit comments