Dan Gohman
862d859587
Add a LICENSE file to each crate.
2018-11-29 05:57:32 -08:00
Dan Gohman
8e1e75f1f4
Fix rustfmt diffs.
2018-11-27 05:41:19 -08:00
Geoffroy Couprie
bf5a06bc95
separate the context intialization from the function execution ( #21 )
...
the start function is called from the initialization phase
2018-11-27 05:33:56 -08:00
Dan Gohman
95fba6a9de
Update to Cranelift 0.25.
2018-11-26 22:50:07 -08:00
Dan Gohman
e8201d0f93
Begin work on no_std support.
...
This adds no_std support to a bunch of things, but more work is needed.
2018-11-26 04:52:39 -08:00
Dan Gohman
74ccddcd64
Update to Cranelift 0.24.
2018-11-25 05:08:29 -08:00
Dan Gohman
0a0108f959
Update to Cranelift 0.22.
2018-11-25 05:08:29 -08:00
Dan Gohman
d72ebe53d4
Use the correct base address for memories.
2018-11-02 16:18:18 -07:00
Dan Gohman
5a96e022db
Update to the rustfmt in rust 1.29, which is now stable.
2018-10-09 14:36:48 -07:00
Dan Gohman
ecae909b9e
Add the "wasm" category in Cargo.toml files.
2018-08-28 21:03:07 -07:00
Dan Gohman
da4382802a
Add a LICENSE file to published crates.
...
The individual crates are published separately from the main repository
on crates.io. To ensure that a copy of the LICENSE file accompanies all
published copies of the code, give each crate its own LICENSE file.
2018-08-28 21:02:18 -07:00
Dan Gohman
fb7153ccf4
Update to cranelift 0.20.0.
...
The biggest change is the split from FunctionIndex to
DefinedFuncIndex to FuncIndex. Take better advantage of this by
converting several Vecs to PrimaryMaps.
Also, table_addr can now handle indices of the table index type,
so we don't need to explicitly uextend them anymore.
2018-08-28 20:56:58 -07:00
Dan Gohman
d3fcb596b3
Support multiple memory spaces.
2018-08-28 16:54:28 -07:00
Dan Gohman
4e24064251
grow_memory is renamed to memory.grow in the spec.
2018-08-28 16:54:28 -07:00
Sergey Pepyakin
7b222190f5
Implement tables and call_indirect ( #12 )
...
* Implement tables and call_indirect
* Restore comment about sig checking.
* Widen callee index on 64bit platforms.
2018-08-15 16:25:49 -07:00
Sergey Pepyakin
e7c8d23a42
Implement memory.grow and memory.current ( #9 )
...
* Implement.
* Clean and doc
* Collect base addresses instead of leaking them
* Fix code for 1.25.
* Simplify $assert
* Use AbiParam::special.
* Use &mut self in base_addr
2018-08-11 06:52:43 -07:00
Dan Gohman
4992162fab
Format with rustfmt.
2018-08-03 15:37:57 -07:00
Dan Gohman
a1b4c865d1
Prepare wasmtime-environ for publishing.
2018-08-03 15:33:15 -07:00
Dan Gohman
bba733b7a1
Tidy up a comment.
2018-08-03 15:26:26 -07:00
Dan Gohman
548c45c604
Rename wasmtime-runtime to wasmtime-environ.
...
This mirrors changes in cranelift.
2018-08-03 15:20:19 -07:00