Skip to content

build with go #2

@mikkvitchko

Description

@mikkvitchko

Thanks for the useful tool! I currently use a similar one built by myself, but yours seems to be a lot more comprehensive.

Pre-built binaries would be much appreciated - tried building with Go (Windows), unsuccessfully:

 go build -o react-analyzer ./cmd/react-analyzer
github.com/smacker/go-tree-sitter/typescript/tsx: build constraints exclude all Go files in C:\Users\MikKvitchko\go\pkg\mod\github.com\smacker\go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82\typescript\tsx
# runtime
C:\Programming Tools\Go\src\runtime\lfstack_64bit.go:47:6: lfstackPack redeclared in this block
        C:\Programming Tools\Go\src\runtime\lfstack.go:63:6: other declaration of lfstackPack
C:\Programming Tools\Go\src\runtime\lfstack_64bit.go:57:6: lfstackUnpack redeclared in this block
        C:\Programming Tools\Go\src\runtime\lfstack.go:67:6: other declaration of lfstackUnpack
C:\Programming Tools\Go\src\runtime\map.go:815:6: mapiterinit redeclared in this block
        C:\Programming Tools\Go\src\runtime\linkname_swiss.go:91:6: other declaration of mapiterinit
C:\Programming Tools\Go\src\runtime\map.go:866:6: mapiternext redeclared in this block
        C:\Programming Tools\Go\src\runtime\linkname_swiss.go:144:6: other declaration of mapiternext
C:\Programming Tools\Go\src\runtime\map.go:1374:6: reflect_mapiterinit redeclared in this block
        C:\Programming Tools\Go\src\runtime\linkname_swiss.go:123:6: other declaration of reflect_mapiterinit
C:\Programming Tools\Go\src\runtime\map.go:1379:6: reflect_mapiternext redeclared in this block
        C:\Programming Tools\Go\src\runtime\linkname_swiss.go:173:6: other declaration of reflect_mapiternext
C:\Programming Tools\Go\src\runtime\map.go:1384:6: reflect_mapiterkey redeclared in this block
        C:\Programming Tools\Go\src\runtime\linkname_swiss.go:191:6: other declaration of reflect_mapiterkey
C:\Programming Tools\Go\src\runtime\map.go:1389:6: reflect_mapiterelem redeclared in this block
        C:\Programming Tools\Go\src\runtime\linkname_swiss.go:209:6: other declaration of reflect_mapiterelem
C:\Programming Tools\Go\src\runtime\map_fast32_swiss.go:18:6: mapaccess1_fast32 redeclared in this block
        C:\Programming Tools\Go\src\runtime\map_fast32.go:13:6: other declaration of mapaccess1_fast32
C:\Programming Tools\Go\src\runtime\map_fast32_swiss.go:29:6: mapaccess2_fast32 redeclared in this block
        C:\Programming Tools\Go\src\runtime\map_fast32.go:53:6: other declaration of mapaccess2_fast32
C:\Programming Tools\Go\src\runtime\map_fast32_swiss.go:29:6: too many errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions