Skip to main content

dispatch_build_mode

Function dispatch_build_mode 

Source
pub async fn dispatch_build_mode(args: BuildArgs) -> Result<(), EuvError>
Expand description

Dispatches the build mode to the web-only pipeline or the native one.

A build that names no native platform keeps the ordinary web-only behaviour, so the existing euv build invocations are unchanged. A build that names one, or asks for the whole host plan, runs the native pipeline as well.

§Arguments

  • BuildArgs - The build arguments.

§Returns

  • Result<(), EuvError> - Indicates success or failure.