1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-26 18:51:00 +02:00

Note lack of main function.

This commit is contained in:
Andrew Walbran
2023-02-10 04:06:18 +00:00
parent 120ef6331f
commit 1d92abb1a7

View File

@ -19,5 +19,8 @@ fn panic(_panic: &PanicInfo) -> ! {
* It can also be provided by another crate, such as `panic-halt`.
* Depending on the target, you may need to compile with `panic = "abort"` to avoid an error about
`eh_personality`.
* Note that there is no `main` or any other entry point; it's up to you to define your own entry
point. This will typically involve a linker script and some assembly code to set things up ready
for Rust code to run.
</details>