Skip to content

go 1.22 无法适配win7 #415

Closed
Closed

Description

@1062497537

cmd .exe /c go build
....\browserdata\bookmark\bookmark.go:5:2: package log/slog is not in GOROOT (D:\src\log\slog)
note: imported by a module that requires go 1.22
....\browser\chromium\chromium.go:8:2: package slices is not in GOROOT (D:\src\slices)
note: imported by a module that requires go 1.22
hackbrowser编译需要go 1.22以上版本

升级完go版本后确实可以解决该问题,但go 1.21版本后不再支持 Windows7、Windows2008、Windows2012

Activity

  1. 1062497537 commented on Aug 23, 2024

    @1062497537
    Author

    这就导致hackbrowser 在win7上报
    图片

  2. moonD4rk commented on Aug 23, 2024

    @moonD4rk
    Owner

    This is a known issue, you can refer to the Link below and their corresponding solutions, we will consider lowering the golang version to address more usage scenarios.

  3. Repository owner locked and limited conversation to collaborators on Aug 25, 2024
  4. converted this issue into a discussion #416 on Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplatform: windowsIssues specific to Windows

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions