Move target feature whitelist from cg_llvm to cg_ssa

These target features have to be supported or at least emulated by
alternative codegen backends anyway as they are used by common crates.
By moving this list to cg_ssa, other codegen backends don't have to copy
this code.
This commit is contained in:
bjorn3
2020-10-04 11:12:56 +02:00
parent 32cbc65e6b
commit 17d1cbbbe0
4 changed files with 155 additions and 154 deletions

View File

@@ -42,6 +42,7 @@ pub mod glue;
pub mod meth;
pub mod mir;
pub mod mono_item;
pub mod target_features;
pub mod traits;
pub struct ModuleCodegen<M> {