File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
151
151
. collect :: < Vec < _ > > ( ) ;
152
152
153
153
quote ! (
154
+ #[ doc( hidden) ]
154
155
#[ export_name = "main" ]
155
156
pub unsafe extern "C" fn #tramp_ident( ) {
156
157
#ident(
@@ -343,6 +344,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
343
344
let ident = & f. sig . ident ;
344
345
345
346
quote ! (
347
+ #[ doc( hidden) ]
346
348
#[ export_name = #ident_s]
347
349
pub unsafe extern "C" fn #tramp_ident( ) {
348
350
extern crate core;
@@ -395,6 +397,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
395
397
let ident = & f. sig . ident ;
396
398
397
399
quote ! (
400
+ #[ doc( hidden) ]
398
401
#[ export_name = "HardFault" ]
399
402
#[ link_section = ".HardFault.user" ]
400
403
pub unsafe extern "C" fn #tramp_ident( frame: & :: cortex_m_rt:: ExceptionFrame ) {
@@ -479,6 +482,7 @@ pub fn exception(args: TokenStream, input: TokenStream) -> TokenStream {
479
482
. collect :: < Vec < _ > > ( ) ;
480
483
481
484
quote ! (
485
+ #[ doc( hidden) ]
482
486
#[ export_name = #ident_s]
483
487
pub unsafe extern "C" fn #tramp_ident( ) {
484
488
#ident(
@@ -647,6 +651,7 @@ pub fn interrupt(args: TokenStream, input: TokenStream) -> TokenStream {
647
651
. collect :: < Vec < _ > > ( ) ;
648
652
649
653
quote ! (
654
+ #[ doc( hidden) ]
650
655
#[ export_name = #ident_s]
651
656
pub unsafe extern "C" fn #tramp_ident( ) {
652
657
#ident(
You can’t perform that action at this time.
0 commit comments