stellar / rs-soroban-env

Rust environment for Soroban contracts.
Apache License 2.0
60 stars 40 forks source link

Turn off `wasm_reference_types` in Wasmi #1291

Closed jayz22 closed 7 months ago

jayz22 commented 9 months ago

What

Disable wasmi reference_typesand make all wasmi feature selections explicit. Also did a pass-by clean up on the fuel configs code.

Why

bulk_memory and reference_types are both post-MVP features. We use 1 extensively for object init/copy between host and guest. We do not use 2 at all. We are not using ExternRef and we are limiting table count to 1 (via resource limiter).

Known limitations

[TODO or N/A]