refactor(print): remove HostOp::Print and legacy formatting (Compat-C)
- Delete HostOp::Print and StdHost::op_print; the print builtin only routes to bundled io.写值 when Program.print_override is set, otherwise returns a structured kernel.unavailable error (ADR-0031). - Keep the 打印/print builtin name for arity/static validation; Value::display remains only for CLI result rendering, not print execution. - Teach the direct-runtime semantic harness to mirror loader stdlib injection and import edges; replace runtime tests that used print with non-print effects. - Update spec/security/status/changelog/README, add ADR-0031 and evidence. Gate: fmt, clippy -D warnings, 419 tests passed.
This commit is contained in:
1 parent
e26971f489
commit
49910ece43
16 files changed
+304
-56
No files matched your search
@@ -171,6 +171,11 @@ by:
|
||||
* fixture 55 additionally has a second-free detection path: freeing an
|
||||
already-free block returns `{ok:false, code:"alloc.double_free"}`.
|
||||
|
||||
RFC-CM CM-A07 Compat-C (ADR-0031) is pinned by
|
||||
`crates/marqdo-runtime/tests/interpreter.rs::print_without_the_bundled_stdlib_is_a_structured_error`
|
||||
and the absence of any `HostOp::Print`/`op_print` reference. The semantic
|
||||
harness mirrors the loader's stdlib injection for direct-runtime fixtures.
|
||||
|
||||
RFC-CM CM-A07 Compat-B (ADR-0030) is pinned by
|
||||
`crates/cli/tests/print_routing.rs`:
|
||||
|
||||
|
||||
Reference in new issue
Block a user