alexichepura/lapa

consider adding a `main` function to `src\main.rs`

Closed this issue · 2 comments

wxyer commented

i have a question,when execute a command cargo (run) leptos watch -p lapa_admin appears a new problem which is miss main function,
i found main function in main.rs,so i cant understant it.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>. Compiling lapa_site v0.1.0 (E:\Develop\practice\leptos\lapa-main) error[E0601]:mainfunction not found in cratelapa_site--> src\main.rs:44:2 | 44 | } | ^ consider adding amainfunction tosrc\main.rs`

For more information about this error, try rustc --explain E0601.
error: could not compile lapa_site (bin "lapa_site") due to previous error
`
can you help me
by the way,cargo leptos cant run ,should add run

wxyer commented

i try cargo-leptos tool angin,

wxyer commented

Some errors have detailed explanations: E0405, E0412, E0425, E0463, E0531. error: could not compile memchr (lib) due to 550 previous errors
perhaps it cant run on window64