Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
danielnachun opened this issue Dec 1, 2024 · 1 comment
Open
1 task done
Labels

Comments

@danielnachun
Copy link

danielnachun commented Dec 1, 2024

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
@danielnachun
Copy link
Author

Here is an example of the incorrect lint: conda-forge/golines-feedstock#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant