Commit Graph

3528 Commits

Author SHA1 Message Date
Syrus
af12f627ad Improved sccache usage 2019-08-10 17:57:35 -07:00
Syrus
f83e4edf4f Fixed references to sccache 2019-08-10 17:51:30 -07:00
Syrus
025bd9e32c Trying to fix sccache install 2019-08-10 17:47:09 -07:00
Syrus
1045d46d3d Fixed reference error 2019-08-10 17:41:50 -07:00
Syrus
28ebba41b0 Added sscache to improve compilation times 2019-08-10 17:39:39 -07:00
Syrus
ee1ca08bb8 Moved check down 2019-08-10 16:41:58 -07:00
Syrus
86684bd1a1 Fixed windows tests 2019-08-10 16:31:50 -07:00
Brandon Fish
38a8a0eb01 Minimize unsafe block to unsafe code 2019-08-10 17:20:27 -06:00
Syrus
739f52a81d Comment integration tests for now 2019-08-10 16:18:06 -07:00
Syrus
bdf8a40687 Fixed LLVM install in Windows 2019-08-10 16:17:58 -07:00
Brandon Fish
b7970fb982 Uncomment slow exclude test again 2019-08-10 17:11:32 -06:00
Brandon Fish
0b73776c84 Validate all memory data initializers before writing 2019-08-10 17:10:24 -06:00
Syrus Akbary
0c45b75e14
Merge pull request #658 from wasmerio/feature/reuse-registered-module-instance
Re-use registered module instances in spectests
2019-08-10 16:08:22 -07:00
Syrus
141fad86b3 Added Cache, improved LLVM install 2019-08-10 15:51:51 -07:00
Syrus
a82907eb22 Improved Azure install requirements 2019-08-10 15:32:09 -07:00
Syrus
0ae66297b7 Fixed config 2019-08-10 14:58:21 -07:00
Brandon Fish
228d562a3b Re-use registered module instances in spectests 2019-08-10 15:56:25 -06:00
Syrus
98711dd3d8 Renamed azure pipelines config file 2019-08-10 14:53:47 -07:00
bors[bot]
1f8f810222 Merge #657
657: Spectest Fixes r=bjfish a=bjfish

- Invalid table size for elems should produce link error
- Remove filter which prevents initializer offset check

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-08-10 21:34:58 +00:00
Brandon Fish
db5d8a5bf8 Push debug print to debug CI failure 2019-08-10 15:33:08 -06:00
Brandon Fish
4651b43078
Merge branch 'master' into feature/fix-table-init-error 2019-08-10 15:19:02 -06:00
Brandon Fish
a621b86286 Update windows excludes 2019-08-10 15:04:24 -06:00
Brandon Fish
b484ebb848 cargo fmt 2019-08-10 14:01:50 -06:00
Brandon Fish
bb8b4960b8 Remove filter which prevents initializer offset check 2019-08-10 13:59:31 -06:00
bors[bot]
e1003b7bdc Merge #655
655: Fix more bare dyn traits in runtime-c-api r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-10 18:29:36 +00:00
Brandon Fish
1584beebe6 Invalid table size for elems should produce link error 2019-08-10 12:13:14 -06:00
Syrus
462b0b5149 Initial version of Azure pipelines 2019-08-10 11:11:54 -07:00
Brandon Fish
6372e0947c Fix more bare dyn traits in runtime-c-api 2019-08-10 11:20:22 -06:00
bors[bot]
d23e5eb18c Merge #649
649: Fix some spectest imports and namespace_table issue r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-08-09 20:12:58 +00:00
Brandon Fish
8ec4c0e01d
Merge branch 'master' into feature/fix-namespace-table-issue 2019-08-09 14:12:25 -06:00
losfair
44f71759f6 Use Vec::with_capacity in various places. 2019-08-10 03:23:29 +08:00
losfair
9cade2b441 singlepass: Skip patchpoint. 2019-08-10 03:10:32 +08:00
losfair
d61a8bb6d2 Prevent continueing execution on unreliable stack. (LLVM register save area information is missing) 2019-08-10 03:10:12 +08:00
losfair
2e89f02191 Cargo fmt 2019-08-10 02:44:44 +08:00
losfair
03665fe74a Add CLI option for optimized backends. 2019-08-10 02:43:21 +08:00
losfair
8dfdd82865 Enable managed feature in wasmer-runtime-core 2019-08-10 02:32:33 +08:00
losfair
b8c18215aa Refactor tier switching code 2019-08-10 02:32:14 +08:00
Syrus Akbary
f909f7ed1f
Merge pull request #650 from wasmerio/feature/wasi-path-rename
implement wasi::path_rename
2019-08-09 01:09:23 -07:00
Mark McCaskey
61f1df06d1 implement wasi::path_rename 2019-08-09 15:40:04 +09:00
Brandon Fish
7f0c48b354 Add windows clif excludes 2019-08-08 21:12:36 -06:00
bors[bot]
4dd9db436b Merge #648
648: Remove structopt dependency from LLVM r=syrusakbary a=syrusakbary

* [x] Remove structopt dependency from LLVM
* [x] Fixed `dyn` warning in the wasmer cli
* [x] Make `nix` an optional dependency for LLVM backend

Co-authored-by: Syrus <me@syrusakbary.com>
2019-08-09 03:03:29 +00:00
Brandon Fish
a7ff120dd9 Fix some spectest imports and namespace_table issue 2019-08-08 21:03:00 -06:00
Syrus
d39d4b5f6d Remove structopt dependency from LLVM 2019-08-08 19:42:41 -07:00
bors[bot]
27d8506a46 Merge #643
643: Improve error reporting of IO errors, implement path_symlink r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-08-09 00:34:22 +00:00
Mark McCaskey
e29a89a3f8 add path_symlink entry to changelog 2019-08-09 09:32:38 +09:00
bors[bot]
46bb58d136 Merge #647
647: Add support for backend flags. Backend flags are opaque to src/bin/wasmer.rs. r=nlewycky a=nlewycky

Use them to implement three features in the LLVM backend, getting a valid ELF object file, the post-optimization LLVM IR and the pre-optimization LLVM IR.

Presently they are also global to the backend which is not ideal.

Co-authored-by: Nick Lewycky <nicholas@mxc.ca>
2019-08-09 00:06:07 +00:00
Nick Lewycky
b2c4501357 Add support for backend flags. Backend flags are opaque to src/bin/wasmer.rs.
Use them to implement three features in the LLVM backend, getting a valid ELF object file, the post-optimization LLVM IR and the pre-optimization LLVM IR.

Presently they are also global to the backend which is not ideal.
2019-08-08 17:05:31 -07:00
bors[bot]
77fe15db31 Merge #646
646: Fix bare_trait_objects warnings r=bjfish a=bjfish

These appear to be coming to stable soon:
https://github.com/rust-lang/rust/blob/master/RELEASES.md#compatibility-notes

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-08 23:25:07 +00:00
bors[bot]
e994e0969f Merge #645
645: Fix a bug where we would fail to find llvm-config-M or llvm-config-M-N when llvm-sys would. r=nlewycky a=nlewycky

Fix another bug where we wouldn't rebuild when certain environment variables changed.

Update to match features in newer llvm-sys.


Co-authored-by: Nick Lewycky <nicholas@mxc.ca>
2019-08-08 23:12:00 +00:00
Brandon Fish
5a41686192 Fix bare_trait_objects warnings 2019-08-08 16:46:52 -06:00