We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c9a7b4 commit e0ef82cCopy full SHA for e0ef82c
1 file changed
crates/rustc_codegen_spirv/src/codegen_cx/declare.rs
@@ -233,8 +233,8 @@ impl<'tcx> CodegenCx<'tcx> {
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 =
237
- is_nonlocal && self.tcx.def_path_str(def_id) == "spirv_std::byte_addressable_buffer::bounds_check";
+ let is_spirv_std_byte_addressable_bounds_check = is_nonlocal
+ && 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"))
239
|| is_spirv_std_byte_addressable_bounds_check
240
{
0 commit comments