backend: Generate assert call depending on the compiler key
This commit is contained in:
@@ -200,7 +200,7 @@ targetList.each { target ->
|
||||
"-Dkonan.home=${project.parent.file('dist')}",
|
||||
"-Djava.library.path=${project.buildDir}/nativelibs"
|
||||
args('-output', project(':runtime').file("build/${target}/stdlib.kt.bc"),
|
||||
'-nolink', '-nostdlib', '-compile_as_stdlib',
|
||||
'-nolink', '-nostdlib', '-compile_as_stdlib', '-ea',
|
||||
'-target', target,
|
||||
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),
|
||||
'-properties', project(':backend.native').file('konan.properties'),
|
||||
@@ -226,7 +226,7 @@ targetList.each { target ->
|
||||
"-Dkonan.home=${project.parent.file('dist')}",
|
||||
"-Djava.library.path=${project.buildDir}/nativelibs"
|
||||
args('-output', project(':runtime').file("build/${target}/start.kt.bc"),
|
||||
'-nolink', '-nostdlib',
|
||||
'-nolink', '-nostdlib', '-ea',
|
||||
'-target', target,
|
||||
'-library', project(':runtime').file("build/${target}/stdlib.kt.bc"),
|
||||
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),
|
||||
|
||||
Reference in New Issue
Block a user