Build failed #3260
RamanNagar
started this conversation in
General
Build failed
#3260
Replies: 1 comment
-
Most databases cannot be compiled to WASM. Make sure your database is not being compiled when the web feature is enabled. You can check your dependencies by running You likely need to make your database dependency optional and enable it only in the server feature: database = { version = "*", optional = true }
[features]
server = ["dep:database"] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered this error while connecting to the database.
Beta Was this translation helpful? Give feedback.
All reactions