Skip to content

Commit

Permalink
build: one cargo workspace for the repo (#133)
Browse files Browse the repository at this point in the history
* build: one cargo workspace for the repo

* chore: move tests from module -> wasmer_sys to avoid public glob rexport shadowing

* chore: root workspace includes test crate

* chore: changelog

* chore: missed a cargo.lock

* chore: move building test wasms before testing root workspace

* refactor: instead of nesting crates within "test" crate, move all to same level within "test-crates" dir

* chore: rename test_wasm to test_wasm_core to clarify which crates are wasms used for tests vs actual test implementations

* chore: changelog clarity

* fix: path to test crate

* chore: fix bench paths, remove unused script

* fix: windows tests

* wip: debug windows file path

* fix: normalize file path formatting on windows and explain with comment

* chore: fmt

* chore: long arg

* chore: move example wasms into test-crates/wasms dir, use workspace for shared deps

* Revert "chore: move example wasms into test-crates/wasms dir, use workspace for shared deps"

This reverts commit 21d0d6a.

* chore: move example wasms into test-crates/wasms dir

* chore: move tests of default behavior of 'wasm_error!()' into common crate where it is defined

* chore: fmt + clippy
  • Loading branch information
mattyg authored Dec 20, 2024
1 parent cd075dd commit d136c6c
Show file tree
Hide file tree
Showing 45 changed files with 643 additions and 5,749 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ jobs:
shell: pwsh
run: |
$env:LLVM_SYS_180_PREFIX="$(pwd)/.llvm"
cargo test --release --manifest-path test/Cargo.toml --no-default-features --features ${{ matrix.wasmer-feature }} -- --nocapture
cargo test --release -p tests --no-default-features --features ${{ matrix.wasmer-feature }} -- --nocapture
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

- Removed separate cargo workspaces for `crates/guest` and `test` and separate cargo projects for test wasms. Now all crates are members of a single cargo workspace.

## [0.0.96]

### Changed
Expand Down
Loading

0 comments on commit d136c6c

Please sign in to comment.