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

no-std compilation issue #1286

Open
libesz opened this issue Nov 22, 2023 · 0 comments
Open

no-std compilation issue #1286

libesz opened this issue Nov 22, 2023 · 0 comments

Comments

@libesz
Copy link

libesz commented Nov 22, 2023

Hey!
I am trying to use CXX to compile Rust and C++ to an embedded arm platform (STM32F4). I found earlier discussions and PRs about this topic and as I understood it should work, so maybe I am still doing something wrong.

Using this to avoid std usage:

cxx = { version = "1.0.110", default-features = false, features = ["alloc"] }

and the build still gives me this:

rust-lld: error: unable to find library -lstdc++

I've put the demo project here: https://github.com/libesz/temp-rust-cxx-demo

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