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

Linker error due to undefined rust_begin_unwind when creating an importlib on Windows #41609

Closed
urschrei opened this issue Apr 28, 2017 · 1 comment

Comments

@urschrei
Copy link
Contributor

I'm generating an importlib using latest stable on Appveyor using -C target-cpu=native -C link-args=-Wl,--out-implib,polylabel.a, but switching from dylib to cdylib now causes a linker error, saying there's an undefined reference to rust_begin_unwind. The crate isn't #![no_main] \ #![no_std], and I'm not doing anything unusual AFAIK.

@Mark-Simulacrum
Copy link
Member

I believe this is #18807 based on discussion in #38281, so closing in favor of #18807. See #38281 (comment).

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

2 participants