Commit Graph

231 Commits

Author SHA1 Message Date
ptitSeb
d08d3c1c95 Updated the other crates too 2023-04-18 16:53:04 +02:00
ptitSeb
7fb7c09080 Release 3.2.0 2023-04-18 16:30:03 +02:00
Michael-F-Bryan
aa5709ab05 Upgrade to webc v5.0.0 2023-04-18 19:25:20 +08:00
Michael-F-Bryan
0f067df42b Bump to the latest webc version 2023-04-13 23:44:21 +08:00
Johnathan Sharratt
164c6e2393 Upgrade webc from webc 5.0.0-rc.5 to webc 5.0.0-rc.6 2023-04-07 11:07:53 +10:00
ptitSeb
15bce243ae Added missing crate version bump 2023-04-05 17:37:20 +02:00
ptitSeb
8dbc260aae Foxed to use crate webc 5.0.0-rc.5 exactly 2023-04-05 13:53:29 +02:00
ptitSeb
e40c6a4177 Release 3.2.0-beta.2 2023-04-05 13:25:40 +02:00
Christoph Herzog
08d61086cd Bump wasmer-registry crate to 4.2 2023-03-29 00:36:44 +02:00
Christoph Herzog
f39c1509ec Allow publishing packages without a module
Modify the Wasmer package build logic to allow packages without a
module.

These packages are perfectly valid and useful (pure fs package, module
comes from dependencies, ...)
2023-03-29 00:26:53 +02:00
Christoph Herzog
727535774b refactor: Move package build + publish logic to registry
Moves the logic for converting a wasmer.toml package file into a tar.gz
and publishing it to the backend into the wasmer_registry crate.
2023-03-29 00:26:53 +02:00
ptitSeb
c9743a03f1 Fixes post 3.2.0-beta.1 release (but needed for the crates publication) (#3705) 2023-03-23 20:26:50 +01:00
ptitSeb
7500ce76fc Feat riscv llvm and cranelift (#3244)
* Basic changes for RISC-V support

* RISC-V in compiler LLVM

* RISC-V support in dylib engine

* RISC-V support in universal engine

* Various small fixes

* [RISCV] LLVM-riscv working, with some ignored tests to be worked on later

* Update rustc to 4.65 (1.64 has some issue with riscv64 target)

* Fixed some (new) Linting issues

* Updated Cargo.toml and remove split-debuginfo for Windows build

* Removed profile.dev from Cargo.toml as it cannot be per platform (breaks Windows). split-debug info is now the default value

* Enable Cranelift compiler for RISCV

* Update crates and fixed all the new clippy errors

* Taken review remarks into account

* Removed change from deny.toml, it's not needed anymore

* Added some more comment about llvm abi hack

* Added doc about current state of RISCV support

* Fixed (newer) linter

---------

Co-authored-by: Toru Nayuki <tnayuki@icloud.com>
2023-03-22 15:26:28 +01:00
Michael-F-Bryan
7ea729148f Reverted accidental Cargo.toml formatting 2023-03-06 22:56:14 +08:00
Michael-F-Bryan
649c808afe Miscellaneous refactoring and tidy-ups 2023-03-06 22:42:55 +08:00
Michael-F-Bryan
7303fabf35 Started adding a WcgiRunner implementation to the wasmer-wasi crate 2023-03-06 22:34:15 +08:00
Michael-F-Bryan
7d409f8b07 Upgraded everything to use webc v5 2023-03-06 22:30:51 +08:00
Christoph Herzog
5e73761c22 deps: Remove tempdir dependency
We already depend on `tempfile`, which also provides temp dir
functionality.

This gets rid of a cargo-deny error due to a race condition in
remove_dir_all, which is a dependency of the removed "tempdir" crate.

Also bumps the minimum tempfile version in Cargo.toml files to be
consistent.
2023-03-06 07:59:16 +00:00
Christoph Herzog
830f1bd49b registry: Move queries from RegistryClient methods functions in api module 2023-02-28 16:42:35 +00:00
Christoph Herzog
d6a94d6086 feat(registry): Add Deploy App Publishing and Token Generation
Adds two new GraphQL mutations for publishing a Deploy app and for
creating a Deploy token for an app version.

Also extends the RegistryClient with functions to execute these
mutations.
2023-02-28 16:42:35 +00:00
Christoph Herzog
55ededd397 registry: Add a RegistryClient abstraction
Adds a more coherent abstraction for running queries against the
registry in a RegistryClient struct.
2023-02-28 16:42:35 +00:00
Christoph Herzog
04fc85ba33 chore(registry): Format GraphQL files with prettier 2023-02-28 16:42:35 +00:00
Christoph Herzog
b4b8d8be9f docs(registry): Add minimal README for the registry
Also contains instructions for updating the schema and formatting
GraphQL files.
2023-02-28 16:42:35 +00:00
Christoph Herzog
ba4990d71f refactor(registry): Clean up the graphql code structure
* Remove duplicated GraphQL query/mutation definitions
* Move all queries to a submodule
* Move all mutations to a submodule
* Move inline proxy module to a submodule
2023-02-28 16:42:35 +00:00
Christoph Herzog
42f58d0c98 Merge remote-tracking branch 'origin/master' into wasix 2023-01-28 08:30:02 +01:00
Christoph Herzog
d1bae195b3 Merge remote-tracking branch 'origin/master' into wasix 2023-01-23 22:00:16 +01:00
Felix Schütt
5779a7f1fb Fix unpack_with_parent function 2023-01-23 12:09:22 +01:00
Felix Schütt
7b4ea130fe Fix issue with ar.unpack()
See https://github.com/alexcrichton/tar-rs/issues/309
2023-01-23 11:00:14 +01:00
Felix Schütt
c073cfed93 Add more debug info 2023-01-23 10:13:41 +01:00
Felix Schütt
ca4b9762f5 Normalize file paths when unpacking .tar.gz on Windows 2023-01-23 10:10:51 +01:00
Felix Schütt
28b901d354 Fix cargo fmt 2023-01-20 21:40:57 +01:00
Felix Schütt
ce575e278d Debug .tar.gz unpacking 2023-01-20 21:29:56 +01:00
Felix Schütt
1dc903de5a Debug tar gz unpacking 2023-01-20 21:04:25 +01:00
Felix Schütt
ceb654119c Add more debugging to .gz / .xz untar process 2023-01-20 20:27:31 +01:00
Felix Schütt
b4600c52dd Debug error of try_unpack_targz 2023-01-20 20:00:35 +01:00
Felix Schütt
639b56fe70 Update wasmer-toml version 2023-01-18 12:42:14 +01:00
Christoph Herzog
433a91a056 deps: Update tokio due to CVE
Tokio 1.23 has a CVE, so update to 1.24
2023-01-17 18:25:05 +01:00
Christoph Herzog
a6fa558e8a Merge branch 'wasix-core-changes' into wasix 2022-12-27 15:08:37 +01:00
Christoph Herzog
fff72e4fda Merge remote-tracking branch 'origin/master' into wasix-core-changes 2022-12-27 15:05:40 +01:00
Christoph Herzog
a499deadeb Bump webc to 4.0.0
The earlier 0.4.1 downgrade was a "hack".
There alrady is a 3.x version that was used previously, but is broken.
We replaced that with 0.4.1, which was the latest publish, but we can't
downgrade to a previous version...

So 0.4.1 was re-relased as 4.0.0.
2022-12-22 16:38:05 +01:00
Felix Schütt
aa04d58d62 Update wasmer-registry to 4.0.0 2022-12-22 14:25:45 +01:00
Felix Schütt
fdd62e188d Fix merge issues 2022-12-22 11:36:34 +01:00
Felix Schütt
ec18ec71e7 PartialWapmConfig -> WasmerConfig 2022-12-22 11:29:39 +01:00
Felix Schütt
45f4b8da4e Merge branch 'master' into config 2022-12-22 11:28:56 +01:00
Felix Schütt
139c3147d6 Revert to "get" / "set" for settable config keys 2022-12-21 09:02:07 +01:00
Felix Schütt
b89d128377 Remove wax_cooldown 2022-12-21 08:25:10 +01:00
Felix Schütt
fc4e40b8c0 Never crash when wapm.toml could not be read 2022-12-21 08:24:24 +01:00
Felix Schütt
b24025ad01 cargo clippy --fix --all 2022-12-21 00:49:45 +01:00
Felix Schütt
fc280cca48 Fix remaining compilation errors regarding wasmer_url 2022-12-20 23:12:57 +01:00
Felix Schütt
7cefc4a914 More refactoring: test_name -> wasmer_dir 2022-12-20 20:32:58 +01:00