fix caching for other backends, improve default compiler code

This commit is contained in:
Mark McCaskey
2019-07-24 17:31:59 -07:00
parent e877e6d6df
commit a3089a4501
7 changed files with 62 additions and 10 deletions

View File

@ -32,6 +32,7 @@ pub enum Backend {
impl Backend {
pub fn variants() -> &'static [&'static str] {
&[
#[cfg(feature = "backend-cranelift")]
"cranelift",
#[cfg(feature = "backend-singlepass")]
"singlepass",