Skip to main content

package

Function package 

Source
pub fn package(source_path: &str, output_path: &str)
Expand description

Packages source_path into a self-contained binary at output_path.

Copies the running rl binary verbatim, then appends the rl source and the magic footer. The output is made executable on Unix.

Prints an error and exits with code 1 on any failure.