Skip to content

core: RUST_MIN_VERSION unused export; runtime entry re-exports heavy wasm module #155

Description

@Dione-b

Summary

packages/core/src/runtime/requirements.ts:

  • RUST_MIN_VERSION (line 4) is never imported anywhere in the repo (grep-verified — only NODE_MIN_MAJOR and CURRENT_RUST_WASM_TARGET are consumed by packages/cli)
  • The CURRENT_RUST_WASM_TARGET re-export (line 1) pulls contracts/wasm.ts (crypto, fs, errors) into the runtime entry point

Why it matters

Dead API surface plus a fat entry chunk for a constant-only module used by CLI preflight.

Suggested fix

Delete RUST_MIN_VERSION or consume it (e.g. in the CLI rust diagnostic), and move the wasm target constants to a dependency-free module.

Priority: Low | Release impact: Patch | Breaking: No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestpriority: lowLow priority fix - tech debt or minor consistency

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions