Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bytecodealliance/cargo-component
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.0
Choose a base ref
...
head repository: bytecodealliance/cargo-component
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.13.0
Choose a head ref
  • 3 commits
  • 8 files changed
  • 2 contributors

Commits on May 16, 2024

  1. set dev version (#297)

    calvinrp authored May 16, 2024
    Configuration menu
    Copy the full SHA
    4841409 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Bug fixes for targeting a world with resource borrows (#300)

    Expanded test cases to cover issue #299
    
    Also, when specifying an exact semver requirement, adds that exact requirement to the generated Cargo.toml. There was mismatch before.
    
    wit-bindgen-rust generates different bindings for borrow<> of resources, depending on whether that type is exported in the world or not. &SomeType vs SomeTypeBorrow in the generated bindings. Fixed the logic here to match that behavior. The revised test case should better cover future potential breakage.
    
    If interested, here is some of the logic on the wit-bindgen side:
    https://github.com/bytecodealliance/wit-bindgen/blob/main/crates/rust/src/interface.rs#L2203-L2225
    calvinrp authored May 22, 2024
    Configuration menu
    Copy the full SHA
    22d9d81 View commit details
    Browse the repository at this point in the history
  2. set release version 0.13.0

    calvinrp committed May 22, 2024
    Configuration menu
    Copy the full SHA
    f7f50bf View commit details
    Browse the repository at this point in the history
Loading