Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 970 Bytes

File metadata and controls

18 lines (16 loc) · 970 Bytes

revmc - EVM JIT/AOT compiler

Commands

  • Build: cargo build --workspace
  • Test all: cargo nextest run --workspace
  • Test single: cargo nextest run -p revmc 'test_name'
  • State tests: cargo nextest run -p revmc --profile ethtests 'statetest::'
  • Lint: cargo +nightly clippy --workspace --all-targets --features llvm,cranelift
  • Format: cargo +nightly fmt --all

Architecture

  • revmc — main crate: EVM compiler, bytecode analysis, linker, and test infrastructure.
  • revmc-backend — abstract compiler backend trait. revmc-cranelift and revmc-llvm are implementations.
  • revmc-builtins — runtime builtins called by JIT-compiled code (host calls, gas accounting).
  • revmc-context — EVM execution context types bridging revm and compiled code.
  • revmc-build — build-script helpers for AOT compilation.
  • revmc-cli / revmc-cli-tests — CLI frontend and its integration tests.
  • revmc-statetest — Ethereum state test runner.