@@ -143,6 +143,7 @@ impl std::fmt::Display for Exception {
143
143
/// You get something like:
144
144
///
145
145
/// ```rust
146
+ /// #[doc(hidden)]
146
147
/// #[export_name = "_undefined_handler"]
147
148
/// pub unsafe extern "C" fn __cortex_ar_rt_undefined_handler(addr: usize) -> ! {
148
149
/// foo(addr)
@@ -182,6 +183,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
182
183
/// You get something like:
183
184
///
184
185
/// ```rust
186
+ /// #[doc(hidden)]
185
187
/// #[export_name = "_irq_handler"]
186
188
/// pub unsafe extern "C" fn __cortex_ar_rt_irq_handler(addr: usize) -> ! {
187
189
/// foo(addr)
@@ -306,6 +308,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
306
308
quote ! (
307
309
#( #cfgs) *
308
310
#( #attrs) *
311
+ #[ doc( hidden) ]
309
312
#[ export_name = "_undefined_handler" ]
310
313
pub unsafe extern "C" fn #tramp_ident( addr: usize ) -> ! {
311
314
#ident( addr)
@@ -317,6 +320,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
317
320
quote ! (
318
321
#( #cfgs) *
319
322
#( #attrs) *
323
+ #[ doc( hidden) ]
320
324
#[ export_name = "_undefined_handler" ]
321
325
pub unsafe extern "C" fn #tramp_ident( addr: usize ) -> usize {
322
326
unsafe {
@@ -337,6 +341,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
337
341
quote ! (
338
342
#( #cfgs) *
339
343
#( #attrs) *
344
+ #[ doc( hidden) ]
340
345
#[ export_name = "_prefetch_abort_handler" ]
341
346
pub unsafe extern "C" fn #tramp_ident( addr: usize ) -> ! {
342
347
#ident( addr)
@@ -348,6 +353,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
348
353
quote ! (
349
354
#( #cfgs) *
350
355
#( #attrs) *
356
+ #[ doc( hidden) ]
351
357
#[ export_name = "_prefetch_abort_handler" ]
352
358
pub unsafe extern "C" fn #tramp_ident( addr: usize ) -> usize {
353
359
unsafe {
@@ -367,6 +373,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
367
373
quote ! (
368
374
#( #cfgs) *
369
375
#( #attrs) *
376
+ #[ doc( hidden) ]
370
377
#[ export_name = "_data_abort_handler" ]
371
378
pub unsafe extern "C" fn #tramp_ident( addr: usize ) -> ! {
372
379
#ident( addr)
@@ -378,6 +385,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
378
385
quote ! (
379
386
#( #cfgs) *
380
387
#( #attrs) *
388
+ #[ doc( hidden) ]
381
389
#[ export_name = "_data_abort_handler" ]
382
390
pub unsafe extern "C" fn #tramp_ident( addr: usize ) -> usize {
383
391
unsafe {
@@ -395,6 +403,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
395
403
quote ! (
396
404
#( #cfgs) *
397
405
#( #attrs) *
406
+ #[ doc( hidden) ]
398
407
#[ export_name = "_svc_handler" ]
399
408
pub unsafe extern "C" fn #tramp_ident( arg: u32 ) {
400
409
#ident( arg)
@@ -409,6 +418,7 @@ fn handle_exception_interrupt(args: TokenStream, input: TokenStream, kind: Kind)
409
418
quote ! (
410
419
#( #cfgs) *
411
420
#( #attrs) *
421
+ #[ doc( hidden) ]
412
422
#[ export_name = "_irq_handler" ]
413
423
pub unsafe extern "C" fn #tramp_ident( ) {
414
424
#ident( )
0 commit comments