File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -549,15 +549,21 @@ _continue_interrupt_trap:
549549}
550550
551551#[ proc_macro_attribute]
552- /// Attribute to declare an interrupt handler. The function must have the signature `[unsafe] fn() [-> !]`.
553- /// If the `v-trap` feature is enabled, this macro generates the interrupt trap handler in assembly for RISCV-32 targets.
552+ /// Attribute to declare an interrupt handler.
553+ ///
554+ /// The function must have the signature `[unsafe] fn() [-> !]`.
555+ /// If the `v-trap` feature is enabled, this macro generates the
556+ /// interrupt trap handler in assembly for RISCV-32 targets.
554557pub fn interrupt_riscv32 ( args : TokenStream , input : TokenStream ) -> TokenStream {
555558 interrupt ( args, input, RiscvArch :: Rv32 )
556559}
557560
558561#[ proc_macro_attribute]
559- /// Attribute to declare an interrupt handler. The function must have the signature `[unsafe] fn() [-> !]`.
560- /// If the `v-trap` feature is enabled, this macro generates the interrupt trap handler in assembly for RISCV-32 targets.
562+ /// Attribute to declare an interrupt handler.
563+ ///
564+ /// The function must have the signature `[unsafe] fn() [-> !]`.
565+ /// If the `v-trap` feature is enabled, this macro generates the
566+ /// interrupt trap handler in assembly for RISCV-64 targets.
561567pub fn interrupt_riscv64 ( args : TokenStream , input : TokenStream ) -> TokenStream {
562568 interrupt ( args, input, RiscvArch :: Rv64 )
563569}
You can’t perform that action at this time.
0 commit comments