solc-json-interface: do not unconditionally skip serialization of custom keys (#337)

The data structure can be used to build the JSON input for `resolc` too.
In that case serializing of provided custom options should not be
dismissed.

Makes the memory settings struct more modular as a drive-by.

---------

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
xermicus
2025-06-03 08:17:54 +02:00
committed by GitHub
parent 45b6a57cae
commit 8a3c587bbe
13 changed files with 84 additions and 44 deletions
+14 -14
View File
@@ -15,20 +15,20 @@ rust-version = "1.85.0"
[workspace.dependencies]
resolc = { path = "crates/resolc" }
revive-benchmarks = { version = "0.1.0", path = "crates/benchmarks" }
revive-builtins = { version = "0.1.0", path = "crates/builtins" }
revive-common = { version = "0.1.0", path = "crates/common" }
revive-differential = { version = "0.1.0", path = "crates/differential" }
revive-integration = { version = "0.1.0", path = "crates/integration" }
revive-linker = { version = "0.1.0", path = "crates/linker" }
lld-sys = { version = "0.1.0", path = "crates/lld-sys" }
revive-llvm-context = { version = "0.1.0", path = "crates/llvm-context" }
revive-runtime-api = { version = "0.1.0", path = "crates/runtime-api" }
revive-runner = { version = "0.1.0", path = "crates/runner" }
revive-solc-json-interface = { version = "0.1.0", path = "crates/solc-json-interface" }
revive-stdlib = { version = "0.1.0", path = "crates/stdlib" }
revive-build-utils = { version = "0.1.0", path = "crates/build-utils" }
revive-yul = { version = "0.1.0", path = "crates/yul" }
revive-benchmarks = { path = "crates/benchmarks" }
revive-builtins = { path = "crates/builtins" }
revive-common = { path = "crates/common" }
revive-differential = { path = "crates/differential" }
revive-integration = { path = "crates/integration" }
revive-linker = { path = "crates/linker" }
lld-sys = { path = "crates/lld-sys" }
revive-llvm-context = { path = "crates/llvm-context" }
revive-runtime-api = { path = "crates/runtime-api" }
revive-runner = { path = "crates/runner" }
revive-solc-json-interface = { path = "crates/solc-json-interface" }
revive-stdlib = { path = "crates/stdlib" }
revive-build-utils = { path = "crates/build-utils" }
revive-yul = { path = "crates/yul" }
hex = "0.4.3"
cc = "1.2"