near / wasmtime

Standalone JIT-style runtime for WebAssembly, using Cranelift
https://wasmtime.dev/
Apache License 2.0
3 stars 4 forks source link

Compile Keccak benchmark from Rust #231

Closed aborg-dev closed 5 months ago

aborg-dev commented 7 months ago

This is the MVP that we built during the programming session. Let's see if CI likes it :)

UPD: I've tried to polish the approach based on build-artifacts but it was too inflexible - I wasn't able to fully customize build profile and flags used by the artifact. On top of that, it required using nightly Cargo which generated tons of warnings.

So I migrated the implementation to build.rs based on the approach taken by https://github.com/near/nearcore/tree/master/runtime/near-test-contracts. This worked like a charm and I think it's ready for a high-level review.

aborg-dev commented 7 months ago

I've resolved all comments, PTAL

aborg-dev commented 5 months ago

Closing this for now.