Commit Graph

3124 Commits

Author SHA1 Message Date
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
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
Nick Lewycky
02f1d73f88 Reformat. 2019-08-08 13:55:44 -07:00
Nick Lewycky
c4d4a6888c Fix a bug where we would fail to find llvm-config-M or llvm-config-M-N when llvm-sys would.
Update to match features in newer llvm-sys.
2019-08-08 13:46:40 -07:00
Syrus Akbary
3e23ace954
Merge pull request #642 from wasmerio/feature/unexclude-some-passing-unlinkable
Unexclude some now passing assert_unlinkable
2019-08-08 11:52:29 -07:00
Syrus Akbary
537c1562cc
Merge pull request #641 from wasmerio/nlewycky/patch-2
The feature is named "backend-cranelift" in Cargo.toml.
2019-08-08 10:30:37 -07:00
Mark McCaskey
d0696a0c0e implement wasi::path_symlink test & fix readlink test 2019-08-08 16:42:27 +09:00
Brandon Fish
55f214b3ac
Merge branch 'master' into feature/unexclude-some-passing-unlinkable 2019-08-07 23:19:40 -06:00
Brandon Fish
1c32e2a4af Add windows specific clif failures 2019-08-07 23:10:50 -06:00
Mark McCaskey
cdfd9afccc Improve error reporting of IO errors, begin implementation of path_symlink 2019-08-08 11:59:35 +09:00
Brandon Fish
0b0a77413e Unexclude some now passing assert_unlinkable 2019-08-07 19:45:31 -06:00
bors[bot]
205d7081f5 Merge #640
640: Protect::ReadWriteExec is readable and writable. r=syrusakbary a=nlewycky

Also assert that page size is a power of two in two places we assume it is.

Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-08-08 01:36:19 +00:00
bors[bot]
321ca4e565 Merge #635
635: Update spectests and runner r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Syrus <me@syrusakbary.com>
2019-08-08 00:51:59 +00:00
bors[bot]
666fabba8b Merge #608
608: Implement more wasi syscalls r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
2019-08-08 00:19:17 +00:00
Mark McCaskey
b8f8a637c1
Merge branch 'master' into feature/more-wasi-syscalls 2019-08-07 16:55:03 -07:00
Mark McCaskey
a1a344774b Add CHANGELOG entry 2019-08-08 08:52:44 +09:00
Nick Lewycky
b4eab13e11 The feature is backend-cranelift in Cargo.toml.
Not a big deal right now because cranelift does not implement metering yet.
2019-08-07 16:49:41 -07:00
Nick Lewycky
75959577c3 Protect::ReadWriteExec is readable and writable.
Also assert that page size is a power of two in two places we assume it is.
2019-08-07 16:49:29 -07:00
Brandon Fish
8763d2cbde
Merge branch 'master' into feature/spectests-runner 2019-08-07 16:50:06 -06:00
bors[bot]
bd31422872 Merge #639
639: Return link error instead of assertion failure for bad data r=bjfish a=bjfish

Fixes #588 

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-07 21:48:46 +00:00
Brandon Fish
5d9aa1f986 Return link error instead of assertion failure for bad data initialization 2019-08-07 15:40:42 -06:00
Mark McCaskey
ddb0b99f12 implement path_link updated unlink, fix tests, add new test 2019-08-07 16:11:38 +09:00
Mark McCaskey
6ad0be1e02 add fd_sync test 2019-08-07 12:41:35 +09:00
Mark McCaskey
dbe96bbce9 add wasi::fd_sync 2019-08-07 12:17:52 +09:00
Brandon Fish
dc8384ed22 Add windows specific excludes 2019-08-06 21:03:09 -06:00
Brandon Fish
b7236a58fc Add support for platform star key skip exclude 2019-08-06 20:06:34 -06:00
Brandon Fish
8487b21efa Add remote desktop script 2019-08-06 18:29:45 -06:00
Brandon Fish
9b4ee9db5d Remove appveyor RDP configuration 2019-08-05 21:26:42 -06:00
Brandon Fish
7ad629b63e Enable RDP 2019-08-05 21:12:19 -06:00
Brandon Fish
8c13eae2b8 Allow platform specific excludes 2019-08-05 20:57:07 -06:00
Syrus
c15da949bb Test in release mode in windows (faster tests) 2019-08-05 18:42:35 -07:00
Brandon Fish
a56aaeaaa3 Add additional spectest imports 2019-08-05 19:25:12 -06:00
Brandon Fish
03e1b3d8e8 Remove unnecessary println and make spectest runs nocapture 2019-08-05 18:58:51 -06:00
Brandon Fish
540520e54e cargo fmt 2019-08-05 17:55:41 -06:00
Brandon Fish
dc94cfb7b8 Merge branch 'master' into feature/spectests-runner 2019-08-05 17:53:04 -06:00
Brandon Fish
c65abf8ff5 Delete unused commented out println 2019-08-05 17:52:44 -06:00
Brandon Fish
08eb113394 Output failures in exclude format and add all failures as excludes 2019-08-05 17:51:02 -06:00