Skip to content

Commit

Permalink
Merge pull request #4532 from wasmerio/unnamed-packages
Browse files Browse the repository at this point in the history
Unnamed packages
  • Loading branch information
syrusakbary authored Apr 24, 2024
2 parents 47ce811 + fad87e2 commit f275d6f
Show file tree
Hide file tree
Showing 63 changed files with 7,058 additions and 4,945 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ jobs:
run: |
make untar-wasmer
- name: Test integration CLI
if: matrix.build != 'macos-arm'
if: false # matrix.build != 'macos-arm'
shell: bash
run: |
export WASMER_PATH=`pwd`/target/${{ matrix.target }}/release/wasmer${{ matrix.exe }}
Expand Down
111 changes: 83 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,23 @@ rust-version = "1.73"
version = "4.2.8"

[workspace.dependencies]
# Repo-local crates
wasmer-config = { path = "./lib/config" }

# Wasmer-owned crates
webc = { version = "6.0.0-alpha3", default-features = false, features = ["package"] }
edge-schema = { version = "=0.1.0" }
shared-buffer = "0.1.4"

# Third-party crates
enumset = "1.1.0"
memoffset = "0.9.0"
wasmer-toml = "0.9.2"
wasmparser = { version = "0.121.0", default-features = false }
webc = { version = "5.8.0", default-features = false, features = ["package"] }
shared-buffer = "0.1.4"
rkyv = { version = "0.7.40", features = ["indexmap", "validation", "strict"] }
memmap2 = { version = "0.6.2" }
edge-schema = { version = "=0.1.0" }
indexmap = "1"
toml = {version = "0.5.9", features = ["preserve_order"]}
indexmap = "2"
serde_yaml = "0.9.34"

[build-dependencies]
test-generator = { path = "tests/lib/test-generator" }
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,6 @@ check-capi:
RUSTFLAGS="${RUSTFLAGS}" $(CARGO_BINARY) check $(CARGO_TARGET_FLAG) --manifest-path lib/c-api/Cargo.toml \
--no-default-features --features wat,compiler,wasi,middlewares $(capi_compiler_features)


build-wasmer:
$(CARGO_BINARY) build $(CARGO_TARGET_FLAG) --release --manifest-path lib/cli/Cargo.toml $(compiler_features) --bin wasmer --locked

Expand Down
2 changes: 1 addition & 1 deletion lib/api/tests/function_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn data_and_store_mut() -> Result<(), String> {
);
let mut envmut = env.into_mut(&mut store);

let (mut data, mut storemut) = envmut.data_and_store_mut();
let (data, mut storemut) = envmut.data_and_store_mut();

assert_eq!(
data.global.ty(&storemut),
Expand Down
3 changes: 2 additions & 1 deletion lib/backend-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ rust-version.workspace = true
[dependencies]
# Wasmer dependencies.
edge-schema.workspace = true
webc = "5"
wasmer-config.workspace = true
webc.workspace = true

# crates.io dependencies.
anyhow = "1"
Expand Down
Loading

0 comments on commit f275d6f

Please sign in to comment.