MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / package_release_aot_assets

Function package_release_aot_assets

xtask/src/main.rs:1033–1045  ·  view source on GitHub ↗
(output_dir: &Path, target: &str)

Source from the content-addressed store, hash-verified

1031}
1032
1033fn package_release_aot_assets(output_dir: &Path, target: &str) -> Result<PathBuf> {
1034 ensure_supported_aot_target(target)?;
1035 let generated_aot = generated_aot_dir(target);
1036 ensure_file(&generated_aot.join("manifest.json"))?;
1037
1038 let output = output_dir.join(format!("pglite-oxide-aot-{target}.tar.zst"));
1039 deterministic_tar_zst(
1040 &generated_aot,
1041 &Path::new("target/pglite-oxide/aot").join(target),
1042 &output,
1043 )?;
1044 Ok(output)
1045}
1046
1047fn run_in_release_workspace(command: &str, args: &[&str]) -> Result<()> {
1048 let workspace = Path::new(RELEASE_STAGE_DIR).join("workspace");

Callers 1

package_release_assetsFunction · 0.85

Calls 5

generated_aot_dirFunction · 0.85
ensure_fileFunction · 0.85
deterministic_tar_zstFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected