Arkadiy Paronyan
073e4e7f1f
Fixed documentation for used_size ( #156 )
2019-01-08 16:16:49 +01:00
Sergei Pepyakin
d52ba8849a
Run rustfmt check on CI ( #154 )
...
* Run rustfmt check on CI
* Reformat.
2019-01-02 23:50:38 +01:00
Arkadiy Paronyan
e047f508fa
Track memory usage ( #153 )
...
* Track memory usage
* Track lowest_used in copy, etc.
* Extra comment for used_size
2019-01-02 22:13:21 +01:00
Jef
899cc32e45
rustfmt ( #151 )
2018-12-11 12:54:06 +01:00
Julius Rakow
20154c5e24
Add no_std support ( #122 )
...
* add default-enabled std feature
* use parity-wasm/std feature only if std is enabled
* drop dependency on std::io
* use hashmap_core instead of std::collections::HashMap
* disable std::error in no_std
* core and alloc all the things
* mention no_std in readme
* add no_std feature and use hashmap_core only on no_std
* rename the no_std feature to core
* drop dependency on byteorder/std
* simplify float impl macro
* remove some trailing whitespace
* use libm for float math in no_std
* add note about no_std panics of libm to readme
* Embed nan-preserving-float crate.
* Add no_std check to the Travis CI config
* add missing dev-dependency
2018-10-29 11:16:55 +01:00
Jef
3854ecdad6
Remove some unsafety ( #131 )
...
* Remove unsafety
* Remove transmutes and pointer casts
2018-10-25 14:17:25 +02:00
Sergey Pepyakin
36582c32b6
Transfer function ( #128 )
2018-10-02 11:01:18 +01:00
Arkadiy Paronyan
118396851a
Allocate memory on demand ( #115 )
...
* Allocate mem on demand
* More control in with_direct_access_mut
2018-07-31 16:25:46 +03:00
Arkadiy Paronyan
9ed95e49c1
Avoid allocations on memory operations ( #112 )
2018-07-26 14:50:05 +03:00
Sergey Pepyakin
724a32ad60
Provide direct access to the underlying buffer ( #91 )
...
This allows zero-copy access to the linear memory.
2018-05-31 16:01:15 +02:00
Jef
3890dd379f
Preserve signalling bit in NaNs ( #87 )
...
* Preserve signalling bit in NaNs
* Fix warnings
2018-04-25 10:18:14 +03:00
Nikolay Volf
f1a3f06d5e
remove stray println ( #66 )
2018-02-21 23:00:31 +03:00
Sergey Pepyakin
483736b1bd
Memory units ( #42 )
...
* Initial implementation
* Not use grow as it is makes debug builds very slow
* Use Pages::BYTE_SIZE for LINEAR_MEMORY_PAGE_SIZE
* Tidy docs.
* Use memory_units from git.
2018-02-09 16:45:21 +03:00
Sergey Pepyakin
528f468ef2
Minor fixes in docs ( #38 )
...
* Run nightly only if NIGHTLY_TOOLCHAIN is defined
* Minor fixes in docs.
2018-02-06 23:10:58 +03:00
Sergey Pepyakin
106ac7afdb
Fix memory max pages ( #33 )
...
* Fix memory max pages
* Get rid of calculate_memory_size.
2018-02-02 00:44:06 +03:00
Sergey Pepyakin
fa82dee676
Add docs ( #32 )
2018-02-01 19:46:33 +03:00
Sergey Pepyakin
1d87fb09dc
Publish LINEAR_MEMORY_PAGE_SIZE constant ( #31 )
2018-02-01 14:46:49 +03:00
Sergey Pepyakin
551c992730
4th iteration on documentation ( #22 )
...
* Rename LoadedModule to Module
* Hide TryInto
* Fix rustdoc tests.
* Rename from_parity_wasm_module and doc it.
* Document `Module::from_buffer`
* Tidy Module docs
* Some rustdoc headers.
* Document FuncInstance::{alloc_host, signature}
* Document descriptors.
* Doc NotStartedModuleRef
* Fix cargo-deadlinks
2018-01-26 19:24:40 +03:00
Sergey Pepyakin
bc89a20b96
Third iteration on documenation.
2018-01-25 18:17:25 +03:00
Nikolay Volf
429aaa2a4e
Merge pull request #11 from pepyakin/docs-1
...
First iteration on documentation.
2018-01-23 20:00:29 +03:00
Sergey Pepyakin
41983cff0a
First iteration on documentation.
2018-01-23 19:38:49 +03:00
Sergey Pepyakin
a98852e62a
Couple of fixes
2018-01-23 18:12:52 +03:00
Sergey Pepyakin
49347a63ee
Initial commit
2018-01-17 19:54:06 +03:00