Skip to content

Commit 4a74c92

Browse files
JSMonkqurbonzoda
authored andcommitted
Rename Utils.kt to fix per-file compilation for JS target
1 parent 5acabb3 commit 4a74c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/jsMain/src/kotlinx/benchmark/Utils.kt renamed to runtime/jsMain/src/kotlinx/benchmark/UtilsJs.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ internal val jsEngineSupport: JsEngineSupport by lazy {
2929
}
3030

3131
internal actual inline fun measureNanoseconds(block: () -> Unit): Long =
32-
if (isD8) d8MeasureTime(block) else nodeJsMeasureTime(block)
32+
if (isD8) d8MeasureTime(block) else nodeJsMeasureTime(block)

0 commit comments

Comments
 (0)