Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Add full support for latest version of Go (1.21) #266

Description

@percivalalb

I encountered an issue when running go-lsif in the official docker image over a repo using go 1.21 which makes use of the newly introduced slices stdlib package:

<package>/<file>.go:7:2: package slices is not in GOROOT (/usr/local/go/src/slices)

I believe the docker image is shipped with 1.18 which is missing the new packages added in

  1. Therefore the version of go in the docker image needs bumping.
  2. The code generation script for https://github.com/sourcegraph/lsif-go/blob/master/internal/gomod/stdlib.go#L8 would also need re-running to include the new packages in this list.

This is by no means a complete list of what need doing, just a couple of the points I spotted with my limited knowledge of how go-lsif works.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions