Skip to main content

require_native_project

Function require_native_project 

Source
pub fn require_native_project(native_project: &Path) -> Result<(), EuvError>
Expand description

Rejects a native client project directory that is not there.

The check runs when the build starts rather than when the plan is resolved, so a plan can be printed for a layout that is not present yet, and so the failure names the directory that is missing.

§Arguments

  • &Path - The native client project directory.

§Returns

  • Result<(), EuvError> - Ok when the directory exists.