build_program

Function build_program 

Source
pub fn build_program(path: &str)
Expand description

Builds the program if the program at the specified path, or one of its dependencies, changes.

This function monitors the program and its dependencies for changes. If any changes are detected, it triggers a rebuild of the program.

ยงArguments

  • path - A string slice that holds the path to the program directory.

This function is useful for automatically rebuilding the program during development when changes are made to the source code or its dependencies.

Set the SP1_SKIP_PROGRAM_BUILD environment variable to true to skip building the program.