Commit Graph

12362 Commits

Author SHA1 Message Date
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
d2d3b4e9fd Remove .cargo/config 2022-10-27 18:52:55 +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
Felix Schütt
ba6895205f Update Cargo.lock 2022-10-27 16:54:06 +02:00
Felix Schütt
acc5ac1383 Add WasiRunner and EmscriptenRunner 2022-10-27 16:53:46 +02:00
Felix Schütt
968d74c556 Add webc-vfs 2022-10-27 16:53:10 +02:00
bors[bot]
4cc963d847 Merge #3260
3260: Fix bug in wasmer run r=fschutt a=fschutt

Same as with `wasmer run /path/to/file`, this PR eliminates the difference between the `wasmer run file` and `wasmer file` argument handling.

Fixes #3259

Co-authored-by: Felix Schütt <felix@wasmer.io>
2022-10-27 09:25:55 +00:00
Felix Schütt
1030254591 Extract argument fixing into separate function 2022-10-27 11:21:47 +02:00
Felix Schütt
8610c2289b Fix bug in wasmer run registry.wapm.io/python/python 2022-10-27 09:50:21 +02:00
Felix Schütt
2109f0f21b Add integration test for create-exe 2022-10-27 09:43:40 +02:00
Felix Schütt
f7c647a5d1 Add support for WASI args, add integration test for run pirita 2022-10-27 09:36:19 +02:00
Felix Schütt
48cdaf3ffc Add python.wasmer 2022-10-27 09:02:46 +02:00
Felix Schütt
705dc8f345 Compilation with make-wasmer-pirita now works 2022-10-27 08:59:40 +02:00
Felix Schütt
c4bf4e173c Fix cargo clippy 2022-10-27 08:40:37 +02:00
Felix Schütt
e8977ed335 cargo clippy --fix 2022-10-26 18:11:33 +02:00
Felix Schütt
1e2617ca18 Add feature=pirita_file 2022-10-26 17:44:21 +02:00
bors[bot]
184445f090 Merge #3257
3257: Fix linux-aarch64 build r=fschutt a=fschutt

Use rustls instead openssl for wasmer-registry

Co-authored-by: Felix Schütt <felix@wasmer.io>
2022-10-26 05:27:55 +00:00
Felix Schütt
7d5093b5a5 wasmer-registry: use rustls instead of openssl for HTTPS 2022-10-26 07:26:05 +02:00
bors[bot]
aa516c7b7e Merge #3256
3256: Release 3.0.0 rc.1 r=fschutt a=fschutt



Co-authored-by: Felix Schütt <felix@wasmer.io>
2022-10-25 12:23:19 +00:00
Felix Schütt
631d8fcb93 Update CHANGELOG 2022-10-25 14:20:18 +02:00
Felix Schütt
4fb0c3b93c Fix wasi-types JS tests 2022-10-25 14:20:18 +02:00
bors[bot]
658352c7a2 Merge #3254
3254: Release 3.0.0-rc.1 r=fschutt a=fschutt



Co-authored-by: Felix Schütt <felix@wasmer.io>
2022-10-25 11:57:26 +00:00
Felix Schütt
a4885ebe69 Set default "sys" feature on wasi-types 2022-10-25 13:45:11 +02:00
Felix Schütt
0652fb9f39 Fix bugs in wasi-types/regenerate.sh 2022-10-25 13:24:17 +02:00
Felix Schütt
d3a0baa5cf Remove wasi-types-generator-extra from workspace 2022-10-25 13:21:10 +02:00
Felix Schütt
2e8a59a1ce Update dependency of wasmer-registry 2022-10-25 13:16:24 +02:00
Felix Schütt
c890e772e1 Update CHANGELOG 2022-10-25 13:13:18 +02:00
Felix Schütt
8ee578fb5d Update package versions 2022-10-25 12:54:45 +02:00
Felix Schütt
9b13fae93e cargo update 2022-10-25 12:38:21 +02:00
bors[bot]
e831932020 Merge #3215
3215: Update wasmer --version logic, integrate wapm-cli r=Michael-F-Bryan a=fschutt

- [x] Update clap
- [x] Integrate wapm-cli logic
- [x] Polish CLI handling and UX

Fixes #3208.
Fixes #3189.

Co-authored-by: Felix Schütt <felix@wasmer.io>
Co-authored-by: Felix Schütt <12084016+fschutt@users.noreply.github.com>
2022-10-25 09:35:37 +00:00
Felix Schütt
e268ad179c Merge branch 'master' into wasmer-vv 2022-10-25 11:28:06 +02:00
Michael Bryan
9a540361ab Merge branch 'master' into wasmer-vv 2022-10-25 17:27:00 +08:00
bors[bot]
dc8f108b38 Merge #3222
3222: Add function to retrieve function name from wasm_frame_t r=Michael-F-Bryan a=fschutt

Fixes #3166.

Co-authored-by: Felix Schütt <felix@wasmer.io>
Co-authored-by: Felix Schütt <12084016+fschutt@users.noreply.github.com>
2022-10-25 09:19:24 +00:00
bors[bot]
835717665c Merge #3240
3240: Fix filesystem rights on WASI, add integration test for file permissions r=Michael-F-Bryan a=fschutt

Fixes https://github.com/wasmerio/wasmer/issues/3125

Co-authored-by: Felix Schütt <felix@wasmer.io>
Co-authored-by: Felix Schütt <12084016+fschutt@users.noreply.github.com>
2022-10-25 09:10:13 +00:00
Felix Schütt
f06d0e999b Revert 72d49b3d1a 2022-10-25 09:43:56 +02:00
Felix Schütt
5c132f4ec9 Undo wrong inheritance of rights for directories 2022-10-25 09:30:04 +02:00
Felix Schütt
9e4b445af0 Disable test_wasmer_run_works on musl due to failing network access 2022-10-24 23:40:01 +02:00
Felix Schütt
28645c14cc Fix bug in mem_fs: parent of foo.txt is root dir 2022-10-24 23:34:50 +02:00
Felix Schütt
72d49b3d1a Fix slight bug in adjusted_rights 2022-10-24 21:29:57 +02:00
Felix Schütt
8c21ba0d62 Remove check if directory is empty
On host_fs this will fail because the root dir might not be empty
2022-10-24 21:05:16 +02:00
Felix Schütt
e5a6082a85 Bug: permissions should be set from OpenOptions, not working dir 2022-10-24 20:55:14 +02:00
Felix Schütt
58f184e853 Correct file permission diff between create() and create_new() 2022-10-24 20:50:32 +02:00
Felix Schütt
a7c849ff7f Fix mistake in fd_rights integration test 2022-10-24 19:20:34 +02:00