We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c862ecb commit dfbad8cCopy full SHA for dfbad8c
1 file changed
crates/rustc_codegen_spirv/src/codegen_cx/declare.rs
@@ -230,9 +230,6 @@ impl<'tcx> CodegenCx<'tcx> {
230
}
231
let is_nonlocal = !def_id.is_local();
232
let is_nonlocal_core = is_nonlocal && self.tcx.crate_name(def_id.krate) == sym::core;
233
- if is_nonlocal_core && demangled_symbol_name.ends_with("::precondition_check") {
234
- self.panic_entry_points.borrow_mut().insert(def_id);
235
- }
236
let is_spirv_std_byte_addressable_bounds_check = is_nonlocal
237
&& self.tcx.def_path_str(def_id) == "spirv_std::byte_addressable_buffer::bounds_check";
238
if (is_nonlocal_core && demangled_symbol_name.ends_with("::bounds_check"))
0 commit comments