Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

@sudo-bmitch sudo-bmitch commented Nov 12, 2024

Fixes issue

Fixes #749.

Describe the change

This is the last part of the changes to move from logrus to slog. wasm binaries will now compile. Note that the project does not explicitly support wasm since it requires filesystem and network access typically blocked by the wasm sandbox.

How to verify it

GOOS=wasip1 GOARCH=wasm go build -o bin/regctl.wasm ./cmd/regctl/

Changelog text

  • Feat: Move logrus calls into files excluded by wasm.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

This permits builds of wasm binaries.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit ddf7251 into regclient:main Nov 12, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-wasm branch November 12, 2024 15:25
@sudo-bmitch sudo-bmitch added this to the v0.8.0 milestone Nov 15, 2024
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.

[Feature] Support slog
1 participant