Skip to content

Foreign functions are missing their ABI in rustdoc #22038

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

Closed
tomjakubowski opened this issue Feb 7, 2015 · 0 comments
Closed

Foreign functions are missing their ABI in rustdoc #22038

tomjakubowski opened this issue Feb 7, 2015 · 0 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@tomjakubowski
Copy link
Contributor

For example:

extern "C" {
    pub fn foo();
}

Is simply rendered in rustdoc as pub unsafe fn foo(). It should likely show the ABI as well as the unsafety. There should also probably be some indication that this is a foreign function, to distinguish from an Rust function with a not-Rust ABI.

@kmcallister kmcallister added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Feb 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants