⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

serialize_manifest

Function serialize_manifest 

Source
pub fn serialize_manifest(manifest: &BuildManifest) -> Vec<u8>
Expand description

Serialize a build manifest to a simple text format for VFS storage.

Format:

PORT={name}
VERSION={version}
TOOLCHAIN={toolchain_version}
TARGET={target_triple}
DURATION_MS={duration}
INPUT_COUNT={count}
INPUT:{filename}={hex_hash}
...
OUTPUT_COUNT={count}
OUTPUT:{filename}={hex_hash}
...
TOTAL_SIZE={size}