testing/cross_backend/rust_spine_stub_backend_config.ts view source
(options?: SpineStubBackendConfigOptions): BackendConfig import {rust_spine_stub_backend_config} from '@fuzdev/fuz_app/testing/cross_backend/rust_spine_stub_backend_config.js'; Build the BackendConfig for testing_spine_stub. Resolves the binary
from options.binary_path or FUZ_TESTING_RUST_SPINE_STUB_BIN; throws when
neither is set so a missing build surfaces as a clear error rather than
a confusing spawn failure. Reconciles the binary's env contract: port
via --port (and FUZ_RUST_SPINE_STUB_PORT), daemon-token dir via
FUZ_RUST_SPINE_STUB_DIR (anchored to paths.root so the written
{dir}/run/daemon_token matches the path spawn_backend reads).
options
{}returns
BackendConfig throws
Error- when no binary path is available.