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

Function aot_serializer

xtask/src/main.rs:402–411  ·  view source on GitHub ↗
(args: Vec<String>)

Source from the content-addressed store, hash-verified

400}
401
402fn aot_serializer(args: Vec<String>) -> Result<()> {
403 match args.first().map(String::as_str) {
404 Some("serialize") => serialize_aot_cli(&args[1..]),
405 Some("probe") => probe_aot_serializer_in_process(),
406 Some(other) => bail!("unknown aot-serializer subcommand: {other}"),
407 None => bail!(
408 "usage: cargo run -p xtask --features aot-serializer -- aot-serializer <serialize|probe>"
409 ),
410 }
411}
412
413#[cfg(not(feature = "aot-serializer"))]
414fn serialize_aot_cli(_args: &[String]) -> Result<()> {

Callers 1

mainFunction · 0.85

Calls 2

serialize_aot_cliFunction · 0.85

Tested by

no test coverage detected