Commit Graph

3216 Commits

Author SHA1 Message Date
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
Nick Lewycky
1d54a938f6 Fix a couple bugs testing NaNs. Add an exclusion list for LLVM min/max. 2019-08-05 15:38:03 -07:00
bors[bot]
180522095f Merge #517
517: add instance creation benchmark r=syrusakbary a=MarkMcCaskey

a benchmark for creating a bunch of instances

Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Syrus Akbary <me@syrusakbary.com>
2019-08-05 22:08:46 +00:00
Syrus Akbary
07e6599a28
Merge branch 'master' into feature/instance-benchmark 2019-08-05 15:07:58 -07:00
bors[bot]
ec1f5db67f Merge #633 #634
633: Added support for setting environment variables. Fixed #394 r=syrusakbary a=syrusakbary

Added support for setting environment variables. Fixed #394

After installing Wasmer from this:
![Screen Shot 2019-08-05 at 2 31 22 PM](https://user-images.githubusercontent.com/188257/62496585-3ab9b980-b78e-11e9-8e98-fdb2c544d052.png)

And executing `wasmer cache dir`:
![Screen Shot 2019-08-05 at 2 32 45 PM](https://user-images.githubusercontent.com/188257/62496597-46a57b80-b78e-11e9-9581-f4271d7b400f.png)


634: Added extra assertions in Emscripten. Fixed #244 r=syrusakbary a=syrusakbary

This PR is a quick fix for #244

Co-authored-by: Syrus Akbary <me@syrusakbary.com>
Co-authored-by: Syrus <me@syrusakbary.com>
2019-08-05 21:44:33 +00:00
Syrus
47456b5baa Fixed formatting 2019-08-05 14:37:08 -07:00
Syrus Akbary
7b54ce2690
Merge branch 'master' into feature/windows-env 2019-08-05 14:34:33 -07:00
Syrus Akbary
e0f98ea6a6 Added support for setting environment variables. Fixed #394 2019-08-05 14:33:17 -07:00
Syrus
fed7c79923 Added extra assertions in Emscripten. Fixed #244 2019-08-05 14:15:36 -07:00