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

Function ensure_supported_aot_target

xtask/src/main.rs:5977–5985  ·  view source on GitHub ↗
(target: &str)

Source from the content-addressed store, hash-verified

5975}
5976
5977fn ensure_supported_aot_target(target: &str) -> Result<()> {
5978 if aot_target_specs().iter().any(|spec| spec.triple == target) {
5979 return Ok(());
5980 }
5981 bail!(
5982 "unsupported AOT target {target}; supported targets are {}",
5983 supported_aot_targets().join(", ")
5984 )
5985}
5986
5987fn verify_generated_extension_surface() -> Result<()> {
5988 let manifest_path = Path::new(GENERATED_ASSETS_DIR).join("manifest.json");

Callers 3

asset_download_targetsFunction · 0.85

Calls 2

aot_target_specsFunction · 0.85
iterMethod · 0.80

Tested by

no test coverage detected