What does specifying the crate type as "cdylib" and "rlib" mean in a cargo-leptos
project?
#1961
Answered
by
gbj
saikatdas0790
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
gbj
Oct 29, 2023
Replies: 1 comment
-
I think these two things are unrelated. The crate is marked as I think I just answered the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
saikatdas0790
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think these two things are unrelated.
cargo-leptos
doesn't have a--target
argument, which is the error. I don't think the warning is related.The crate is marked as
cdylib
because this is the crate type used for building an app to WASM, generally.I think I just answered the
--target
part in my reply to your post about that, which I'm linking here for anyone searching in the future.