浏览代码

Mention entry! macro

Vadim Kaushan 6 年之前
父节点
当前提交
d0b35943da
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      riscv-rt/src/lib.rs

+ 2 - 0
riscv-rt/src/lib.rs

@@ -8,6 +8,8 @@
 //!
 //! - Before main initialization of the FPU (for targets that have a FPU).
 //!
+//! - An `entry!` macro to declare the entry point of the program.
+//!
 //! - A linker script that encodes the memory layout of a generic RISC-V
 //!   microcontroller. This linker script is missing some information that must
 //!   be supplied through a `memory.x` file (see example below).