Skip to content

Commit fff8e7d

Browse files
committed
fix: errors when loading native tooling (not ready yet)
Signed-off-by: Sam Gammon <[email protected]>
1 parent 5b5de6f commit fff8e7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/cli/src/main/kotlin/elide/tool/engine/NativeEngine.kt

+4-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ object NativeEngine {
234234
val loadNatives: () -> Unit = {
235235
loadNativeCrypto(natives, loader)
236236
loadNativeTransport(natives, loader)
237-
loadNativeTooling(natives, loader)
237+
// loadNativeTooling(natives, loader)
238238
}
239239

240240
try {
@@ -301,7 +301,9 @@ object NativeEngine {
301301
val libPath = if (!libraryPath.contains("/elide-runtime")) {
302302
libraryPath.split(separator).toMutableList().apply {
303303
add(0, nativesPath)
304-
add(1, requireNotNull(System.getProperty("elide.natives")) { "Failed to resolve `elide.natives` path" })
304+
System.getProperty("elide.natives")?.let {
305+
add(1, it)
306+
}
305307
}.joinToString(separator)
306308
} else libraryPath
307309

0 commit comments

Comments
 (0)