Skip to content

Commit 1f615dc

Browse files
authored
It is no longer necessary to provide supported_target_features (#214)
1 parent afe3e1f commit 1f615dc

File tree

1 file changed

+0
-2
lines changed
  • crates/rustc_codegen_spirv/src

1 file changed

+0
-2
lines changed

crates/rustc_codegen_spirv/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ impl CodegenBackend for SpirvCodegenBackend {
237237
}
238238

239239
fn provide(&self, providers: &mut Providers) {
240-
// For now, rustc requires this to be provided.
241-
providers.supported_target_features = |_, _| Default::default();
242240
// This is a lil weird: so, we obviously don't support C ABIs at all. However, libcore does declare some extern
243241
// C functions:
244242
// https://github.com/rust-lang/rust/blob/5fae56971d8487088c0099c82c0a5ce1638b5f62/library/core/src/slice/cmp.rs#L119

0 commit comments

Comments
 (0)