test(host): cover C ABI version/mode fail-closed paths

- Build a second C provider reporting ABI v2 and assert registration fails
  with resource.unsupported.
- Assert pure/strict refuse a registered C provider kind with permission.denied.
- Refresh the C ABI evidence/test README.

Gate: fmt, clippy -D warnings, 436 tests passed.
This commit is contained in:
cflmy committed 2026-11-20 23:27:37 +08:00
1 parent d909de5c68
commit 5e5c3a84d9
3 files changed
+56 -6

No files matched your search

+2 -2
View File
@@ -179,8 +179,8 @@ grant/pure/strict/DNS refusal) and
RFC-CM CM-A09 C ABI provider (ADR-0036) is pinned by
`crates/marqdo-host/tests/c_provider.rs`, which compiles a small C shared
library, registers it, round-trips `resource.*` and checks missing-library
fail-closed behavior.
library, registers it, round-trips `resource.*`, checks missing-library,
wrong-ABI-version and pure/strict fail-closed behavior.
RFC-CM CM-A09 worker provider transport (ADR-0035) is pinned by
`crates/marqdo-host/tests/worker_provider.rs`: a Python helper is spawned,