Using the cc crate, how do I force the use of a specific compiler?

Viewed 419

My rust crate relies on a single C source file (whose functions aren t used for export outside the crate) using clang specific s C language extensions.

What s the syntax for not using gcc or Microsoft cl, but always forcing the use of clang inside build.rs?

0 Answers
Related