Skip to content

Linting of recipe.yaml requires stdlib('c') for compiler('go-nocgo') #2174

@danielnachun

Description

@danielnachun

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I am currently migrating feedstocks I maintain to rattler-build recipes and have noticed that conda-smithy reports a linting error that a recipe with compiler('go-nocgo') needs stdlib('c'). However I believe this is incorrect because pure Go recipes do not use the C standard library at all. This in contrast to compiler('go-cgo') which does use the standard C library. So I think we need an exception for the lint for stdlib('c') to skip compiler('go-nocgo').

Installed packages

N/A

Environment info

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions