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

x/pkgsite: Documentation on how to add calls to C functions to the Go compiler #66311

Closed
programmingkidx opened this issue Mar 14, 2024 · 1 comment
Labels
Milestone

Comments

@programmingkidx
Copy link

What is the URL of the page with the issue?

not applicable

What is your user agent?

not applicable

Screenshot

No response

What did you do?

no error to report

What did you see happen?

I ask that a documentation page be made detailing how to add C function calls to the Go compiler. Some might think the simple solution is to use cgo. Unfortunately cgo is not available inside the runtime package. I need this information for Mac OS X, but having documentation for all platforms would be great.

What did you expect to see?

A tutorial on how to add a C function call to the Runtime package or another package. My suggestion would be to use a simple C function like time() or puts().

@gopherbot gopherbot added this to the Unreleased milestone Mar 14, 2024
@seankhliao
Copy link
Member

I think this is out of scope for user facing documentation

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
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

3 participants