Browse Source

Fix panic-handler documentation

rust-lang/rust#51647 is fixed but panic-handler is still needed
Aaron Kutch 4 năm trước cách đây
mục cha
commit
084fbd2b0b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      crates/panic-handler/src/lib.rs

+ 1 - 1
crates/panic-handler/src/lib.rs

@@ -1,4 +1,4 @@
-// Hack of a crate until rust-lang/rust#51647 is fixed
+//! This is needed for tests on targets that require a `#[panic_handler]` function
 
 #![feature(no_core)]
 #![no_core]