Skip to content

@pumpkin-plugins/static-hermes-runtime API / hermes/toolchain-paths / hermesHostCompilerPath

Function: hermesHostCompilerPath() ​

hermesHostCompilerPath(hostBuild, platform?): string

Defined in: hermes/toolchain-paths.ts:23

Return the compiled Hermes bytecode compiler path for the host platform.

Parameters ​

hostBuild ​

string

Hermes host CMake build directory.

platform? ​

Platform = process.platform

Host platform; defaults to the current process platform.

Returns ​

string

The hermesc executable path, including .exe on Windows.

pumpkin-plugins documentation