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

Native "llvm" modules don't work #907

Closed
brson opened this issue Sep 12, 2011 · 1 comment
Closed

Native "llvm" modules don't work #907

brson opened this issue Sep 12, 2011 · 1 comment

Comments

@brson
Copy link
Contributor

brson commented Sep 12, 2011

There is some support for modules of the form

native "llvm" mod llvm {
    fn sqrt(n: float) -> float = "sqrt.f64";
}

which are intended to generate calls to llvm intrinsics. In the one case we're actually using this (the above example from shootout-nbody) we are actually just generating a call to function sqrt which happens to be in the c standard library.

I've also added a failing test in run-pass/native-llvm.rs.

Personally I think we should drop this functionality.

@brson
Copy link
Contributor Author

brson commented Nov 14, 2011

This ABI has been removed

@brson brson closed this as completed Nov 14, 2011
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.15...1.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
coastalwhite pushed a commit to coastalwhite/rust that referenced this issue Aug 5, 2023
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