Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added wasmtime wasi args for cargo component serve #308

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

calvinrp
Copy link
Collaborator

@calvinrp calvinrp commented Jun 1, 2024

No description provided.

@calvinrp calvinrp merged commit d859e93 into main Jun 1, 2024
6 checks passed
@calvinrp calvinrp deleted the fix-cargo-component-serve-args branch June 1, 2024 20:43
@@ -274,7 +274,7 @@ fn get_runner(serve: bool) -> Result<PathAndArgs> {
(
PathAndArgs::new("wasmtime")
.args(if serve {
vec!["serve"]
vec!["serve", "-S", "common", "-S", "http"]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "common" is being deprecated. Too early to use "cli"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good catch. I have an issue to track making that change: #306

It was recently failing CI tests switching to "cli" instead of "common". Need to track down why it is still grabbing an older release of wasmtime.

mergify bot pushed a commit to andrzejressel/pulumi-wasm that referenced this pull request Jun 30, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [cargo-component](https://github.com/bytecodealliance/cargo-component) | minor | `0.10.1` -> `0.13.0` |

---

### Release Notes

<details>
<summary>bytecodealliance/cargo-component (cargo-component)</summary>

### [`v0.13.2`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.13.2)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.13.1...v0.13.2)

#### What's Changed

-   Add `cargo component serve` subcommand by [@&#8203;primoly](https://github.com/primoly) in [bytecodealliance/cargo-component#305
-   added wasmtime wasi args for `cargo component serve` by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#308

#### New Contributors

-   [@&#8203;primoly](https://github.com/primoly) made their first contribution in [bytecodealliance/cargo-component#305

**Full Changelog**: bytecodealliance/cargo-component@v0.13.1...v0.13.2

### [`v0.13.1`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.13.1)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.13.0...v0.13.1)

#### What's Changed

-   More `cargo component new` generator fixes by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#304

**Full Changelog**: bytecodealliance/cargo-component@v0.13.0...v0.13.1

### [`v0.13.0`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.13.0)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.12.0...v0.13.0)

#### What's Changed

-   set dev version by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#297
-   Bug fixes for targeting a world with resource borrows by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#300

**Full Changelog**: bytecodealliance/cargo-component@v0.12.0...v0.13.0

### [`v0.12.0`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.12.0)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.11.0...v0.12.0)

#### What's Changed

-   add support for missing settings from wit-bindgen by [@&#8203;sehnryr](https://github.com/sehnryr) in [bytecodealliance/cargo-component#273
-   fix kebab case issue by [@&#8203;fibonacci1729](https://github.com/fibonacci1729) in [bytecodealliance/cargo-component#274
-   Help mesasage improvement ([#&#8203;138](https://github.com/bytecodealliance/cargo-component/issues/138)) by [@&#8203;chikoski](https://github.com/chikoski) in [bytecodealliance/cargo-component#278
-   Update the example to use the latest version of cargo-component by [@&#8203;rylev](https://github.com/rylev) in [bytecodealliance/cargo-component#283
-   fix test assertions after rust upgrade by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#287
-   Add `profile.release` to `Cargo.toml` generated by `cargo component new` by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#289
-   Update install instruction to use --locked by [@&#8203;fibonacci1729](https://github.com/fibonacci1729) in [bytecodealliance/cargo-component#292
-   Update to latest Warg release to support registry federation by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#288
-   removed unused warg-credentials dependency by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#295
-   Warg update 0.7 by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#296

#### New Contributors

-   [@&#8203;sehnryr](https://github.com/sehnryr) made their first contribution in [bytecodealliance/cargo-component#273
-   [@&#8203;fibonacci1729](https://github.com/fibonacci1729) made their first contribution in [bytecodealliance/cargo-component#274
-   [@&#8203;chikoski](https://github.com/chikoski) made their first contribution in [bytecodealliance/cargo-component#278
-   [@&#8203;calvinrp](https://github.com/calvinrp) made their first contribution in [bytecodealliance/cargo-component#287

**Full Changelog**: bytecodealliance/cargo-component@v0.11.0...v0.12.0

### [`v0.11.0`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.11.0)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.10.1...v0.11.0)

#### Compatibility

-   Wasmtime: 17.0.0+
-   WASI: 0.2.0
-   Warg (registry support): 0.4.0

#### What's Changed

-   Update wit-bindgen and wasm-tools. by [@&#8203;sunfishcode](https://github.com/sunfishcode) in [bytecodealliance/cargo-component#266
-   Synchronize artifact componentization.  by [@&#8203;peterhuene](https://github.com/peterhuene) in [bytecodealliance/cargo-component#270
-   Bump version to 0.11.0. by [@&#8203;peterhuene](https://github.com/peterhuene) in [bytecodealliance/cargo-component#271

**Full Changelog**: bytecodealliance/cargo-component@v0.10.1...v0.11.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andrzejressel/pulumi-wasm).
mergify bot pushed a commit to andrzejressel/pulumi-wasm that referenced this pull request Jul 9, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [cargo-component](https://github.com/bytecodealliance/cargo-component) | minor | `0.13.0` -> `0.14.0` |

---

### Release Notes

<details>
<summary>bytecodealliance/cargo-component (cargo-component)</summary>

### [`v0.14.0`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.14.0)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.13.2...v0.14.0)

#### What's Changed

-   Document additional `cargo-component` requirements by [@&#8203;yoshuawuyts](https://github.com/yoshuawuyts) in [bytecodealliance/cargo-component#309
-   Update adapter builds by [@&#8203;alexcrichton](https://github.com/alexcrichton) in [bytecodealliance/cargo-component#312
-   Rename `wasm32-wasi` to `wasm32-wasip1` by [@&#8203;alexcrichton](https://github.com/alexcrichton) in [bytecodealliance/cargo-component#313
-   Update to -S cli instead of -S common for wasmtime commands by [@&#8203;iawia002](https://github.com/iawia002) in [bytecodealliance/cargo-component#317
-   Respect build target from cargo config by [@&#8203;iawia002](https://github.com/iawia002) in [bytecodealliance/cargo-component#319

#### New Contributors

-   [@&#8203;yoshuawuyts](https://github.com/yoshuawuyts) made their first contribution in [bytecodealliance/cargo-component#309
-   [@&#8203;iawia002](https://github.com/iawia002) made their first contribution in [bytecodealliance/cargo-component#317

**Full Changelog**: bytecodealliance/cargo-component@v0.13.2...v0.14.0

### [`v0.13.2`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.13.2)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.13.1...v0.13.2)

#### What's Changed

-   Add `cargo component serve` subcommand by [@&#8203;primoly](https://github.com/primoly) in [bytecodealliance/cargo-component#305
-   added wasmtime wasi args for `cargo component serve` by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#308

#### New Contributors

-   [@&#8203;primoly](https://github.com/primoly) made their first contribution in [bytecodealliance/cargo-component#305

**Full Changelog**: bytecodealliance/cargo-component@v0.13.1...v0.13.2

### [`v0.13.1`](https://github.com/bytecodealliance/cargo-component/releases/tag/v0.13.1)

[Compare Source](https://github.com/bytecodealliance/cargo-component/compare/v0.13.0...v0.13.1)

#### What's Changed

-   More `cargo component new` generator fixes by [@&#8203;calvinrp](https://github.com/calvinrp) in [bytecodealliance/cargo-component#304

**Full Changelog**: bytecodealliance/cargo-component@v0.13.0...v0.13.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andrzejressel/pulumi-wasm).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants