Confirm which compiler we're using and if using clang could be faster to compile #3679
Replies: 5 comments
-
The C compiler should be auto-detected. We should try installing |
Beta Was this translation helpful? Give feedback.
-
At least on the Dockerfile, Rust comes with |
Beta Was this translation helpful? Give feedback.
-
Hey team! Please add your planning poker estimate with ZenHub @gustavovalverde @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn |
Beta Was this translation helpful? Give feedback.
-
Ah right. Maybe we should only remove Then if it is quicker, we can find the right config to always use |
Beta Was this translation helpful? Give feedback.
-
closing as stale |
Beta Was this translation helpful? Give feedback.
-
Motivation
clang
builds faster thangcc
(linux default) but if we have both available, we have to ensure we're usingclang
when runningcargo build
Origin: #3431 (comment)
Specifications
The C compiler should be auto-detected.
There seems to be a variable to set the preferred compiler: rust-lang/rust#635 (comment)
Maybe we need this too (?) https://stackoverflow.com/a/57817848
Tasks
Try installing
clang
, and making suregcc g++
are not installed, and see if any parts of the build fail.Beta Was this translation helpful? Give feedback.
All reactions