fix(prove): gate knowledge linkage behind CLI feature
This commit is contained in:
1 parent
1fb87b37c7
commit
a0b0e01b07
1 file changed
+1
@@ -450,6 +450,7 @@ pub fn prove_path(path: &Path, opts: &ProveOptions) -> Result<Report> {
|
||||
};
|
||||
// Knowledge linkage is advisory. Failing to bind must not invent a proof
|
||||
// or change the judgment of the underlying v2.8.0 prover.
|
||||
#[cfg(feature = "cli")]
|
||||
if let Some(dir) = artifact_dir.as_deref() {
|
||||
if let Err(err) = crate::knowledge::proof::emit_links(path, &report, dir) {
|
||||
eprintln!("warning[knowledge.proof_linkage]: {err:#}");
|
||||
|
||||
Reference in new issue
Block a user