-
Notifications
You must be signed in to change notification settings - Fork 26
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
Investigate if CI builds are done with clang
rather than gcc
#557
Comments
The https://github.com/rust-lang/cc-rs/blob/5835783f0e3a02cc343ed02e272b54988ee8a423/src/lib.rs#L2625 I tried to build the firmware with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On my machine, the
cc
crate used to compilelittlefs
usesgcc
by default, but we would probably benefit from usingclang
instead, as it would allow us to reduce the need for multiple toolchains, and also it might allow cross-language LTO, meaning more inlining/optimizations.When changing
littlefs2-sys
's build system to use clang instead it fails to find the definitions for the C standard functions it relies upon (whilegcc
bundles them with the custom compiler toolchain).The text was updated successfully, but these errors were encountered: