Open Centril opened 6 years ago
One major problem with #[target_feature]
as proposed is that it cannot propagate effects properly. This makes it impossible for libraries to work around code-generation issues: https://github.com/rust-lang-nursery/stdsimd/issues/362#issuecomment-380419065
An effect systems for target features would need to allow a caller to enable target features for their callees. This might mean that all Rust functions my need to be always polymorphic with respect to target-feature effects.