Skip to content

Add WASI wasip1 support#1388

Merged
sirupsen merged 2 commits intosirupsen:masterfrom
flavio:add-wasip1-support
Jun 6, 2023
Merged

Add WASI wasip1 support#1388
sirupsen merged 2 commits intosirupsen:masterfrom
flavio:add-wasip1-support

Conversation

@flavio
Copy link
Copy Markdown
Contributor

@flavio flavio commented May 31, 2023

Fix building when the new wasip1 port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Fix building when the new `wasip1` port is being used.
This is a new target that will be introduced by go 1.21.

For more details golang/go#58141

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
Enable building using the tinygo compiler, together with
the `wasi` target.

This combination requires different handling compared to go >= 1.21
and the `wasip1` target. That's because Tinygo compiles using the
GOOS set to `linux` and the `GOARCH` set to `wasi`.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio
Copy link
Copy Markdown
Contributor Author

flavio commented Jun 6, 2023

I've updated my PR to include tinygo + wasi support

You can see a demo here: https://gist.github.com/flavio/f24fc3f349c09ac134e2e130109488e9

@sirupsen sirupsen merged commit dd1b4c2 into sirupsen:master Jun 6, 2023
arthurzam pushed a commit to gentoo-golang-dist/forgejo-runner that referenced this pull request Jan 18, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `v1.9.3` -> `v1.9.4` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsirupsen%2flogrus/v1.9.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsirupsen%2flogrus/v1.9.3/v1.9.4?slim=true) |

---

### Release Notes

<details>
<summary>sirupsen/logrus (github.com/sirupsen/logrus)</summary>

### [`v1.9.4`](https://github.com/sirupsen/logrus/releases/tag/v1.9.4)

[Compare Source](sirupsen/logrus@v1.9.3...v1.9.4)

#### Notable changes

- go.mod: update minimum supported go version to v1.17 [#&#8203;1460](sirupsen/logrus#1460)
- go.mod: bump up dependencies  [#&#8203;1460](sirupsen/logrus#1460)
- Touch-up godoc and add "doc" links.
- README: fix links, grammar, and update examples.
- Add GNU/Hurd support [#&#8203;1364](sirupsen/logrus#1364)
- Add WASI wasip1 support [#&#8203;1388](sirupsen/logrus#1388)
- Remove uses of deprecated `ioutil` package [#&#8203;1472](sirupsen/logrus#1472)
- CI: update actions and golangci-lint [#&#8203;1459](sirupsen/logrus#1459)
- CI: remove appveyor, add macOS  [#&#8203;1460](sirupsen/logrus#1460)

**Full Changelog**: <sirupsen/logrus@v1.9.3...v1.9.4>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC).

🚦 **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.

---

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

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43OC4xIiwidXBkYXRlZEluVmVyIjoiNDIuNzguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiS2luZC9EZXBlbmRlbmN5VXBkYXRlIiwicnVuLWVuZC10by1lbmQtdGVzdHMiXX0=-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/1306
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
@flavio flavio deleted the add-wasip1-support branch February 10, 2026 13:49
Luzifer pushed a commit to Luzifer/automail that referenced this pull request Mar 21, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|---|---|
| [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `v1.9.3` → `v1.9.4` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsirupsen%2flogrus/v1.9.4?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsirupsen%2flogrus/v1.9.4?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsirupsen%2flogrus/v1.9.3/v1.9.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsirupsen%2flogrus/v1.9.3/v1.9.4?slim=true) |

---

### Release Notes

<details>
<summary>sirupsen/logrus (github.com/sirupsen/logrus)</summary>

### [`v1.9.4`](https://github.com/sirupsen/logrus/releases/tag/v1.9.4)

[Compare Source](sirupsen/logrus@v1.9.3...v1.9.4)

#### Notable changes

- go.mod: update minimum supported go version to v1.17 [#&#8203;1460](sirupsen/logrus#1460)
- go.mod: bump up dependencies  [#&#8203;1460](sirupsen/logrus#1460)
- Touch-up godoc and add "doc" links.
- README: fix links, grammar, and update examples.
- Add GNU/Hurd support [#&#8203;1364](sirupsen/logrus#1364)
- Add WASI wasip1 support [#&#8203;1388](sirupsen/logrus#1388)
- Remove uses of deprecated `ioutil` package [#&#8203;1472](sirupsen/logrus#1472)
- CI: update actions and golangci-lint [#&#8203;1459](sirupsen/logrus#1459)
- CI: remove appveyor, add macOS  [#&#8203;1460](sirupsen/logrus#1460)

**Full Changelog**: <sirupsen/logrus@v1.9.3...v1.9.4>

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled because a matching PR was automerged previously.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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

---

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

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My43Ni4yIiwidXBkYXRlZEluVmVyIjoiNDMuNzYuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->

Reviewed-on: https://git.luzifer.io/luzifer/automail/pulls/3
Co-authored-by: Renovate Bot <renovate@luzifer.io>
Co-committed-by: Renovate Bot <renovate@luzifer.io>
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.

2 participants