[][src]Module papyrus::compile

Pertains to compiling a working directory into a library, then executing a function in that library.

Enums

CompilationError

Error type for compilation.

Functions

build_compile_dir

Constructs the compile directory. Takes a list of source files and writes the contents to file. Builds Cargo.toml using crates found in SourceFile.

compile

Run rustc in the given compilation directory.

unshackle_library_file

Function to rename the output library file and remove the associated dependency.