make more clear what the main function in a binary crate does

This commit is contained in:
bytedream 2025-03-31 00:48:18 +02:00
parent 7ad3f77e61
commit 3e846b6dfa

View File

@ -3,7 +3,7 @@
## Create the project package
First, you need to create a normal Rust package which can either be a binary or library crate.
A binary crate has a main function that will be executed when initializing the main function, a library crate needs a few more additional compiler flags to compile successfully.
A binary crate has a main function that will be executed when initializing the wasm module, a library crate needs a few more additional compiler flags to compile successfully.
As binary:
```shell