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

fns using c-stack-cdecl native ABI cannot be used as values #1058

Closed
nikomatsakis opened this issue Oct 21, 2011 · 1 comment
Closed

fns using c-stack-cdecl native ABI cannot be used as values #1058

nikomatsakis opened this issue Oct 21, 2011 · 1 comment

Comments

@nikomatsakis
Copy link
Contributor

this test (src/test/run-pass/c-stack-as-value.rs) yields a LLVM compilation error:

// xfail-test

native "c-stack-cdecl" mod rustrt {
    fn unsupervise();
}

fn main() {
    let _foo = rustrt::unsupervise;
}
@nikomatsakis
Copy link
Contributor Author

Fixed in @b6af844

bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
* Rejoin kani-verifer into the overall workspace

* Instead of copying binaries, let's cargo install the package into the container.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant