-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
#[link(kind = "static", name = "c")]
segfaults on run
#124043
Comments
I'd just like to interject for a moment. What you're refering to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. |
You have to use |
While working on #123974, I had a failure when running doctests of the unstable book. Rustdoc generates this code:
If you compile and run this program (on linux x86_64), it'll segfault. Commenting
#[link(kind = "static", name = "c")]
will make it run without problem.The text was updated successfully, but these errors were encountered: