Skip to content

Commit 5605141

Browse files
bjorn3XAMPPRocky
authored andcommitted
It is no longer necessary to provide supported_target_features (EmbarkStudios#214)
1 parent 499b213 commit 5605141

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
@@ -233,8 +233,6 @@ impl CodegenBackend for SpirvCodegenBackend {
233233
}
234234

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

0 commit comments

Comments
 (0)