Skip to content

Go v1.21 support #204

Closed
fyne-io/fyne-cross-images
#31
@Klaus-Tockloth

Description

@Klaus-Tockloth

I use the new slog package coming with go v1.21.

# compile for 'linux' in Docker container
fyne-cross linux \
-pull \
-app-build 1 \
-name ucrc \
-arch amd64 \
-icon ./Icons-2/refresh_116834_blau_512x512_whiteround.png
[i] Target: linux/amd64
[i] Checking for a newer version of the docker image: docker.io/fyneio/fyne-cross-images:linux
[✓] Image is up to date
[i] Cleaning target directories...
[✓] "bin" dir cleaned: /app/fyne-cross/bin/linux-amd64
[✓] "dist" dir cleaned: /app/fyne-cross/dist/linux-amd64
[✓] "temp" dir cleaned: /app/fyne-cross/tmp/linux-amd64
[i] Checking for go.mod: /Users/klaustockloth/go/src/ucrp.vwg/ucrc/go.mod
[✓] go.mod found
[i] Packaging app...
benchmark.go:5:2: package log/slog is not in GOROOT (/usr/local/go/src/log/slog)
note: imported by a module that requires go 1.21

error building application: exit status 1
[✗] could not package the Fyne app: could not package the Fyne app: exit status 1
% fyne-cross version
fyne-cross version v1.4.0

Questions:

  • Is there an ETA for go v1.21 support in fyne-cross?
  • Is there any workaround to use fyne-cross with go v1.21?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions