Christoph Herzog
5a35a20156
Partial rebase to wasmer master (non-functional)
2022-11-16 12:47:01 +01:00
Christoph Herzog
2b8a4e949e
Formatting...
2022-11-16 12:47:01 +01:00
John Sharratt's Shared Account
c41af89e13
Changes required to bring in full WASIX support
...
- Implemented multi-threading for both JS and SYS, plus other WASIX implementations
- Added a longjmp capability required for bash and other WASIX implementations
- Added real signals to WASIX
- Added a stack unwinding and winding functionality
- Implemented memory forking which will be used for process forking
- Added the ability to fork the current process
- Added the vfork functionality
- Moved over to the WasiPipe implementation
- Added more syscalls needed for bash on WASIX
- Ported wasmer-os into wasmer
- Added a union file system and the character devices
- Moved the cursors to the file handles rather than the file so that they are multithread safe and can handle concurrent IO
- Reimplemented the poll_oneoff functionality to support full ASYNC
- Added support for mapping directories in the host file system into WASIX sandbox file systems
- Implemented fully ASYNC sockets and emulated ASYNC files
- Made the file locks more granular to allow for concurrent poll and accept operations
- Fixed a race condition on the event notifications
2022-11-16 12:47:01 +01:00
John Sharratt's Shared Account
76c7a902a6
Implemented shared memory for Wasmer in preparation for multithreading
2022-11-16 12:46:56 +01:00
Felix Schütt
493f393abc
Update debug output to debug why create-exe on Windows doesn't output anything
2022-11-16 12:29:07 +01:00
Felix Schütt
f73cf54ce8
Fix cross-compile test by switching to build-exe
...
We run this test only on linux and macos, on Windows it might or
might not work.
2022-11-16 11:27:36 +01:00
Felix Schütt
e3b317ab35
Debug why python.obj doesn't get linked correctly
2022-11-15 23:44:15 +01:00
Felix Schütt
2c604e88f9
Windows: use zig.exe instead of "zig" command
2022-11-15 15:00:37 +01:00
Felix Schütt
c6bd0181de
Debug why create-exe is not downloading Zig on Windows part 2
2022-11-15 14:15:16 +01:00
Felix Schütt
748fe292f5
Debug why autoinstalling zig isn't working on Windows
2022-11-15 13:35:28 +01:00
Felix Schütt
b0cee0e5a3
Ignore non- .tar.gz files in cache dir
2022-11-15 13:09:30 +01:00
Felix Schütt
cf77524829
Completely rework downloading logic, add -isystem to zig cc
2022-11-15 12:51:24 +01:00
Felix Schütt
18765cda89
Remove threading when dowloading release to prevent unexpected failure
2022-11-14 15:52:05 +01:00
Felix Schütt
ddf4b33d0b
Try to fix include paths for new wasmer-windows target
2022-11-14 15:20:47 +01:00
Felix Schütt
97b1834c9c
Fix target on Linux
2022-11-11 21:01:41 +01:00
Felix Schütt
6f3b35668d
Debug issue on MacOS
2022-11-11 18:21:32 +01:00
Felix Schütt
bcf259550a
Convert from String -> anyhow::Error
2022-11-11 12:51:59 +01:00
Felix Schütt
b8c281b1b5
Fix https://{registry}/me display
2022-11-11 11:43:08 +01:00
Felix Schütt
b798fe3f87
Adress review comment: wasmer login --registry {value}
2022-11-11 11:36:17 +01:00
Felix Schütt
26524da659
Add integration test for failing create-exe command
2022-11-11 11:22:37 +01:00
Felix Schütt
509a5619c9
Implement wasmer login
2022-11-10 15:46:09 +01:00
Felix Schütt
75bedbaa71
Add integration test, fix make lint
2022-11-10 14:38:44 +01:00
Felix Schütt
e8c422d520
Implement wasmer run {url}
2022-11-10 14:24:16 +01:00
Felix Schütt
15aeda5f8e
Fix "make lint"
2022-11-03 19:23:25 +01:00
Felix Schütt
017762d5f5
Fix issue with wasmer [command] args handling
2022-11-03 18:42:30 +01:00
Felix Schütt
90f110f4b5
Disable println output and spinner if stdout is not a tty
2022-11-03 13:14:30 +01:00
ptitSeb
9dc53cb476
Merge branch 'master' into bug_enotcapable_on_root_access
2022-11-03 10:20:01 +01:00
Felix Schütt
70078e5630
Disable printing "local package ... not found" in release mode
2022-11-03 09:52:30 +01:00
ptitSeb
ba5a66e115
Merge branch 'master' into bug_enotcapable_on_root_access
2022-11-02 18:42:35 +01:00
ptitSeb
4f2873e048
Added a comment about why not using abort
2022-11-02 18:41:55 +01:00
Felix Schütt
d2364f40bb
Update versions via script
2022-11-02 14:52:12 +01:00
Felix Schütt
5bf9c697d8
Debug libwasmer path not found
2022-11-02 09:32:54 +01:00
Felix Schütt
eb7f14aa1d
Rename wasmer_module_new -> wasmer_object_module_new
...
There was a bit of confusion when merging: both wasmer_module_new,
wasmer_object_module_new and wasmer_static_module_new are one and
the same function.
2022-11-01 15:04:51 +01:00
Felix Schütt
84feb95c76
Fix bug in wasmer_module_new
2022-11-01 11:38:31 +01:00
Felix Schütt
5160cb5cf2
Fix "wasmer_static_module_new" function
2022-11-01 11:11:13 +01:00
ptitSeb
3468138a37
Fixed linter
2022-10-31 20:27:18 +01:00
ptitSeb
c1ffc505c2
Return the correct error code when execution is aborted with a trap (3 on windows, 128+SIGABT elsewhere)
2022-10-31 18:05:09 +01:00
Felix Schütt
fde919f6fb
Fixed CI not running integration tests
2022-10-29 10:30:39 +02:00
Felix Schütt
86ef576421
Added function to auto-download and install zig when cross-compiling
2022-10-28 20:31:19 +02:00
Felix Schütt
5c941b352e
Fix integration test to zip a tarball from the /package directory
2022-10-28 16:19:54 +02:00
Felix Schütt
37f88c97e5
Fix cargo deny
2022-10-28 14:34:41 +02:00
Felix Schütt
ad1f72a230
Merge branch 'master' into migrate-wasmer-private
2022-10-28 11:49:17 +02:00
Felix Schütt
178f469506
Fix make lint
2022-10-28 11:48:53 +02:00
Felix Schütt
cf3ab70691
cargo fmt
2022-10-28 11:26:22 +02:00
Felix Schütt
a3f833fc40
Fix compilation bugs with webc
2022-10-28 11:23:23 +02:00
Felix Schütt
a0d9248576
Move /runners into wasmer-wasi
2022-10-28 10:00:08 +02:00
Felix Schütt
7e76db8490
Fixed most dependency errors
2022-10-27 18:42:32 +02:00
Felix Schütt
6d404dee25
Move runners into wasmer/api crate
2022-10-27 18:16:32 +02:00
Felix Schütt
87aa82f33b
cargo fmt
2022-10-27 17:24:37 +02:00
Felix Schütt
afdffbe579
cargo fmt
2022-10-27 16:54:23 +02:00