Dumped code from the wasm2cretonne repo.

Integrated wasm test suite translation as cretonne test

Fixes #146.
Fixes #143.
This commit is contained in:
Denis Merigoux
2017-08-10 16:05:04 -07:00
committed by Jakob Stoklund Olesen
parent e8276ed965
commit ee9989c4b9
20 changed files with 2804 additions and 5 deletions

13
lib/wasm/Cargo.toml Normal file
View File

@@ -0,0 +1,13 @@
[package]
name = "cretonne-wasm"
version = "0.0.0"
authors = ["The Cretonne Project Developers"]
publish = false
description = "Translator from WebAssembly to Cretonne IL"
repository = "https://github.com/stoklund/cretonne"
license = "Apache-2.0"
[dependencies]
wasmparser = "0.6.1"
cretonne = { path = "../cretonne" }
cretonne-frontend = { path = "../frontend" }