Delete the unused draft FFI host function implementation
Closed
RO
3mo ago+2815+2815+0123456789012345678901234567890123456789-5416-5416-0123456789012345678901234567890123456789
What this does
ffi/host_fns.rs was an earlier draft of generate_symbols / generate_symbol_for_function / Function::print_source_code that ffi/mod.rs still declared and re-exported, but the live implementations are the ones in ffi_body.rs, which is what every caller uses. This deletes the draft and the Function/Step/Compiled struct copies in mod.rs that only it referenced.
Split 5 of 8 from #32023, which alii asked to be broken up. Pure code motion and deletion; no intended behavior change. Stacked on claude/split/install-cli (merge order: foundations → install-cli → these, in any order among themselves).
Verification
- Compiles in isolation against the base (
cargo check), and the union of all eight splits is byte-identical to #32023's headf29ce8fe4, which CI ran at 285/286 green (the one red was the fleet-widenapi.test.tsGC-timing flake on windows x64-baseline). - Locally on the parent head: ffi.test.js passes. The deleted file had no callers (
grepfor its exports resolves only to theffi_bodydefinitions). - No new tests: this adds no behavior, so the existing suites above are the regression coverage.