Commit Graph

23 Commits

Author SHA1 Message Date
Alex Beregszaszi d4e2ef190f rust: add precompiles capability to example-rust-vm 2019-11-05 14:49:42 +00:00
Alex Beregszaszi d61c0a7f65 rust: make ExecutionContext optional in EvmcVm.execute() 2019-11-05 14:48:59 +00:00
Jake Lang 1c39d46321 rust: properly bind lifetimes to ensure that execute() can propagate references to ExecutionContext 2019-08-09 10:44:25 +02:00
Alex Beregszaszi 9c5c2a106e rust: implement the save_return_block_number example in example-rust-vm 2019-08-08 19:54:29 +02:00
Alex Beregszaszi a17fd0ed6e rust: pass ExecutionContext mutable so it can actually be used with host functions
Co-authored-by: Jake Lang <jak3lang@gmail.com>
2019-08-08 18:52:14 +02:00
Alex Beregszaszi 61805cf4d2 rust: support evmc_revision in execute() 2019-07-23 22:45:08 +01:00
Alex Beregszaszi 3d47d3802e rust: pass ExecutionMessage directly to EvmcVm.execute() 2019-07-15 11:22:05 +01:00
Alex Beregszaszi 593ef3b6ac rust: expect output as slice in ExecutionResult 2019-07-03 15:56:40 +01:00
Alex Beregszaszi 87ad703e62 rust: pass output as reference in ExecutionResult 2019-07-03 15:56:32 +01:00
Alex Beregszaszi 315137edd2 rust: prefer getters as opposed to pub members on structs 2019-06-25 19:14:42 +01:00
Alex Beregszaszi 7769f7372b rust: fix some (mostly stylistic) warnings raised by rustc and clippy 2019-06-25 12:03:09 +01:00
Jake Lang 244fed6ebc rust: Remove implicit crate version in order to allow static C strings 2019-06-19 19:39:51 +01:00
Alex Beregszaszi 73951327ba rust: compile examples for cdylib and not dylib
This avoids the issue of depending on a dynamically linked rust-libstd
2019-06-19 02:09:20 +01:00
Jake Lang 2e14aa2d5c rust: Procedural macro for automatic VM declaration 2019-06-04 16:18:23 +01:00
Alex Beregszaszi 4eeb42d074 rust: add failure() and success() helpers to ExecutionResult 2019-05-30 14:55:25 +01:00
Alex Beregszaszi 80f99dfe6b examples: Remove explicit namespace in rust-example-vm 2019-05-30 14:55:25 +01:00
Alex Beregszaszi 60bf98fb72 rust: remove support for create_address in ExecutionResult::new 2019-05-22 17:18:45 +01:00
Jake Lang 8d9d206ad0 rust: Implement ExecutionContext (host interface) 2019-05-03 21:06:29 +01:00
Alex Beregszaszi 0a66479c78 rust: make create_address optional in ExecutionResult::new() 2019-04-24 12:42:44 +01:00
Alex Beregszaszi 2e7dccb23e examples: return an output buffer in Rust 2019-04-24 12:20:29 +01:00
Alex Beregszaszi 5b07ae0342 examples: update Rust to support EVMC_CREATE 2019-04-24 12:08:49 +01:00
Alex Beregszaszi 4b5880bf94 example: Implement proper Rust VM example 2019-04-24 09:43:11 +01:00
Alex Beregszaszi 79b6d2a9c0 examples: Add dummy Rust VM 2019-04-24 09:42:24 +01:00