pub fn compile_selected( root: &Path, artifact: &Path, app_id: &str, ) -> Result<PathBuf, DatabaseError>
Compiles the manifest-selected source contract into an external build artifact.