Files
metal2vulkan/crates/metal2vulkan-harness/Cargo.toml
T
Anees Iqbal 92ce7950fc Docs: "the runtime", not "the new runtime"
There is one runtime, so the prose of the harness, validation, devtools,
the translator's lockstep module, .config/nextest.toml and the refusal
surface and conformance coverage generators says "the runtime"
(scratch newrt.py: a word replacement, identifiers such as new_runtime
and NewRuntime untouched). docs/REFUSALS.md and
docs/CONFORMANCE-COVERAGE.md are regenerated from the edited scripts.

Four harness passages said the runtime makes no heap and no texture
over a buffer, and has no Managed mode. The runtime has all three
(Device::new_heap_buffer and heap textures, Buffer::new_texture,
Device::new_managed_buffer); the harness's own backend refuses the two
texture sources. They now say the harness makes neither on the runtime,
and the Managed note names Device::new_managed_buffer. The refusal
strings keep the words the harness's described test matches ("makes no
heap", "makes no texture over a buffer").

Left: three fixture comments (.metal under validation's public
fixtures, whose text keys the golden tables and the committed AIR) and
scripts/matrix, whose keys (harness-new) carry the same naming.

Verified locally: the refusal surface, Metal coverage, conformance
coverage and API signature checks pass.
2026-11-20 11:52:56 -08:00

41 lines
1.4 KiB
TOML

[package]
name = "metal2vulkan-harness"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
description = "The runtime's compute harness: one set of Metal compute workloads through the runtime's Metal-shaped API, checked and timed"
# Dev-only: never published.
publish = false
autobins = false
[lib]
name = "metal2vulkan_harness"
path = "src/lib.rs"
# The harness's command (src/bin/harness.rs); its unit tests cover how `--only` and `--skip`
# select workloads.
[[bin]]
name = "harness"
path = "src/bin/harness.rs"
[dependencies]
# The translator: the function constant values the runtime takes (`plan.rs`).
metal2vulkan = { path = "../metal2vulkan" }
# The runtime, behind the harness's traits in `rt.rs` alone, and the Vulkan types it chooses
# a physical device by.
metal2vulkan-runtime = { path = "../metal2vulkan-runtime" }
ash.workspace = true
# The fixture directory and `llvm-as` of the authored workloads' library.
metal2vulkan-devtools = { path = "../metal2vulkan-devtools" }
# The process's CPU clock (`clocks.rs`).
[target.'cfg(unix)'.dependencies]
libc.workspace = true
# The device test compiles only under the validation crate's GPU safety cfgs
# (docs/VALIDATION.md): `--cfg m2v_gpu` (a real GPU) or `--cfg m2v_cpu_icd` (a CPU ICD).
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(m2v_gpu)", "cfg(m2v_cpu_icd)"] }