Skip to content

Conversation

@flavio
Copy link
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
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants