mirror of
https://github.com/bytedream/litbwraw.git
synced 2025-05-08 19:55:13 +02:00
make more clear what the main function in a binary crate does
This commit is contained in:
parent
7ad3f77e61
commit
3e846b6dfa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user