-
Notifications
You must be signed in to change notification settings - Fork 53
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
.rlib file format not recognized when linking #210
Comments
|
actually the start of
it prob. shouldn't contain |
Of course it is. The lib likely has some x86 assembly hard-coded. Not sure all of this is a problem with the esp idf crates. |
Bug description
Adding and using the library
libssh-rs
leads to the linker throwing.rlib: error adding symbols: file format not recognized
.To Reproduce
Steps to reproduce the behavior:
.cargo/config.toml
:src/main.rs
(obviously the second line goes in the main function)
6. and you get:
Expected behavior
No linking error.
Environment
Additional context
Same in esp-idf v4 and v5 (enabled in advanced template options).
The text was updated successfully, but these errors were encountered: