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:
1 parent
d909de5c68
commit
5e5c3a84d9
3 files changed
+56
-6
No files matched your search
@@ -33,7 +33,9 @@ token enter a language `Value`, wire frame or trace.
|
||||
grant;
|
||||
3. `resource.open/read/write/close` round-trips `c-`/`abi`, `write=3`, second
|
||||
close `resource.closed`;
|
||||
4. a missing library path fails with `kernel.unavailable`.
|
||||
4. a missing library path fails with `kernel.unavailable`;
|
||||
5. a library reporting ABI version 2 fails with `resource.unsupported`;
|
||||
6. pure/strict refuse the C provider kind with `permission.denied`.
|
||||
|
||||
No Rust runtime/`HostOp`/parser change was needed; language code still sees the
|
||||
same `resource.*` surface.
|
||||
|
||||
Reference in new issue
Block a user