Added -noStdlib/noJdk/noJdkAnnotations command line arguments where CLI is invoked.
This commit is contained in:
@@ -39,7 +39,7 @@ public class ForTestCompileBuiltins {
|
||||
@Override
|
||||
protected void doCompile(@NotNull File classesDir) throws Exception {
|
||||
ExitCode exitCode = new K2JVMCompiler().exec(
|
||||
System.err, "-output", classesDir.getPath(), "-src", "./compiler/frontend/src", "-mode", "builtins");
|
||||
System.err, "-output", classesDir.getPath(), "-src", "./compiler/frontend/src", "-noStdlib", "-mode", "builtins");
|
||||
if (exitCode != ExitCode.OK) {
|
||||
throw new IllegalStateException("builtins compilation failed: " + exitCode);
|
||||
}
|
||||
|
||||
@@ -61,6 +61,7 @@ public class ForTestCompileRuntime {
|
||||
ExitCode exitCode = new K2JVMCompiler().exec(System.err,
|
||||
"-output", destdir.getPath(),
|
||||
"-src", "./libraries/stdlib/src",
|
||||
"-noStdlib",
|
||||
"-mode", "stdlib",
|
||||
"-classpath", "out/production/runtime");
|
||||
if (exitCode != ExitCode.OK) {
|
||||
|
||||
Reference in New Issue
Block a user