We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c9a333 commit 8d3a263Copy full SHA for 8d3a263
src/lib.rs
@@ -175,7 +175,11 @@ impl CodegenBackend for CraneliftCodegenBackend {
175
}
176
177
178
- fn target_features(&self, sess: &Session, _allow_unstable: bool) -> Vec<rustc_span::Symbol> {
+ fn target_features_cfg(
179
+ &self,
180
+ sess: &Session,
181
+ _allow_unstable: bool,
182
+ ) -> Vec<rustc_span::Symbol> {
183
// FIXME return the actually used target features. this is necessary for #[cfg(target_feature)]
184
if sess.target.arch == "x86_64" && sess.target.os != "none" {
185
// x86_64 mandates SSE2 support
0 commit comments