Skip to content

Commit 72d297e

Browse files
committed
Initial code skeleten
1 parent a9baa9e commit 72d297e

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/target
2+
**/*.rs.bk
3+
Cargo.lock

Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "runevm"
3+
version = "0.1.0"
4+
authors = ["Alex Beregszaszi <[email protected]>"]
5+
license = "Apache-2.0"
6+
repository = "https://github.com/axic/runevm"
7+
description = "EVM interpreter compatible with the evm2wasm interface"
8+
publish = false
9+
10+
[dependencies]
11+
ewasm_api = { git = "https://github.com/ewasm/ewasm-rust-api" }
12+
13+
[lib]
14+
crate-type = ["cdylib"]

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extern crate ewasm_api;
2+
3+
#[no_mangle]
4+
pub extern fn main() {
5+
ewasm_api::revert();
6+
}

0 commit comments

Comments
 (0)