evmc: Remove loader library and old evmc tool#1504
Merged
Conversation
The EVMC loader (dynamic VM loading) has no remaining users after evmone-bench dropped external VM support and evmone-cli replaced the evmc tool with direct linking.
There was a problem hiding this comment.
Pull request overview
This PR removes the unused EVMC dynamic loader library and the legacy evmc CLI tool build definitions, aligning the EVMC subproject with current usage (direct linking via evmc::tooling / evmone-cli) and reducing maintenance surface.
Changes:
- Remove the EVMC loader library (public header + implementation + CMake target).
- Remove the legacy
evmctool CMake target definition. - Update EVMC’s library CMake to stop building the removed loader subdirectory.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| evmc/tools/evmc/CMakeLists.txt | Removes the legacy evmc tool target definition. |
| evmc/lib/loader/loader.c | Deletes the loader implementation for dynamic VM loading. |
| evmc/lib/loader/CMakeLists.txt | Removes the CMake target/export for evmc::loader. |
| evmc/lib/CMakeLists.txt | Stops including the removed loader subdirectory. |
| evmc/include/evmc/loader.h | Removes the public loader API header. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1504 +/- ##
=======================================
Coverage 96.74% 96.74%
=======================================
Files 155 155
Lines 14001 14001
Branches 3273 3273
=======================================
Hits 13545 13545
Misses 313 313
Partials 143 143
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
somnergy
pushed a commit
to erigontech/zvm1
that referenced
this pull request
May 23, 2026
Merges upstream evmone (ipsilon/evmone) master through commit ff942e2 into zevmone main. Brings in the post-EVMC-vendoring upstream commits: - evmone 0.20.0 and 0.21.0 releases - EVMC vendoring follow-ups: remove loader library and old evmc tool (ipsilon#1504), drop external EVMC support in evmone-bench (ipsilon#1503), add standalone evmone CLI tool (ipsilon#1502), bump CMake to 3.22 (ipsilon#1501), remove redundant build configuration (ipsilon#1505) - Add Amsterdam EVM revision (ipsilon#1508) - Implement DUPN/SWAPN/EXCHANGE EIP-8024 (ipsilon#1429) - Extract SWAP instruction helper (ipsilon#1509) - Restrict conjugate() to degree-2 extension fields (ipsilon#1485) - Add missing inline keyword to always_inline functions (ipsilon#1510) - CI updates: run EEST develop (ipsilon#1507), drop legacy state tests (ipsilon#1512), set LLVM_PROFILE_FILE per run (ipsilon#1513) Conflict resolution (matches the existing merge-upstream branch): - Adopt upstream's parameterized run_execution_spec_tests command and upstream-style call sites (release/fixtures_suffix/filter); drop the duplicate non-parameterized definition merged in from HEAD - circle.yml gcc-min job: rename CMAKE_OPTIONS=-DEVMC_TOOLS=OFF to -DEVMONE_TOOLS=OFF (option moved to evmone scope after vendoring) - .bumpversion.cfg, CHANGELOG.md, CMakeLists.txt: take upstream - evmc/* (add/add): take upstream's vendored EVMC tree - lib/evmone_precompiles/ecc.hpp: keep test_bit() helper (not yet in upstream intx) - lib/evmone_precompiles/modexp.cpp: keep SP1 modexp_sp1() function and its dispatch alongside upstream's bump-allocator refactor - test/integration/CMakeLists.txt: take upstream
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The EVMC loader (dynamic VM loading) has no remaining users after evmone-bench dropped external VM support and evmone-cli replaced the evmc tool with direct linking.