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.7.1
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.8.0
Choose a head ref
  • 4 commits
  • 30 files changed
  • 2 contributors

Commits on Feb 17, 2024

  1. Add support for std_feature (#231)

    Add support for the `std_feature` flag in
    `[package.metadata.component.bindings]`, so that cargo-component can
    produce no_std components.
    sunfishcode authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    c99373a View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Implement unlocked-dep imports for component dependencies. (#230)

    * Update dependencies to latest.
    
    * Implement `unlocked-dep` imports for component dependencies.
    
    This commit implements outputting a component with `unlocked-dep` imports for
    any component dependencies specified in `Cargo.toml`.
    
    Note that WIT does not support the nesting of interfaces (i.e.
    instances), so to properly bind to a component's exports, an instance is
    imported for its directly exported functions and then one for every instance
    the component exports.
    
    Therefore, depending on a component may result in more than one import
    dependency for that package; one of the imports might be for
    `unlocked-dep=<foo:bar>`, while others might be of the form
    `unlocked-dep=<foo:bar/<export>>`.
    
    * Update to Warg 0.3.0.
    
    This includes a rename of `PackageId` to `PackageName` in various places.
    
    * Fix incorrect import name map entry for interface exports.
    
    The import name used in the bindings is the `id_of` the interface, and not just
    the interface name.
    Peter Huene authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    7aed1ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4151b54 View commit details
    Browse the repository at this point in the history
  3. Bump version to 0.8.0. (#234)

    * Bump Wasmtime version in CI.
    
    * Bump version to 0.8.0.
    
    This commit also bumps `wit` to 0.7.0.
    Peter Huene authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4d7c3ac View commit details
    Browse the repository at this point in the history
Loading