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 |
|
At least on the Dockerfile, Rust comes with |
|
Hey team! Please add your planning poker estimate with ZenHub @gustavovalverde @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn |
Ah right. Maybe we should only remove Then if it is quicker, we can find the right config to always use |
|
closing as stale |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Motivation
clangbuilds faster thangcc(linux default) but if we have both available, we have to ensure we're usingclangwhen runningcargo buildOrigin: #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.All reactions