-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
hi, newbie here.
I saw in an issue that i needed wasm-pack
. So i installed it with this.
But now, i have this error:
lenaic@pop-os:~/Documents/dev/async_ui/examples/web-todomvc$ wasm-pack build --target web
[INFO]: 🎯 Checking for the Wasm target...
[INFO]: 🌀 Compiling to Wasm...
warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
Compiling js-sys v0.3.64
Compiling async_ui_web_macros v0.1.0 (/home/lenaic/Documents/dev/async_ui/async_ui_web_macros)
error[E0432]: unresolved import `cssparser::RuleListParser`
--> async_ui_web_macros/src/css.rs:79:30
|
79 | QualifiedRuleParser, RuleListParser, Token,
| ^^^^^^^^^^^^^^
| |
| no `RuleListParser` in the root
| help: a similar name exists in the module: `RuleBodyParser`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `async_ui_web_macros` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit status: 101
full command: cd "/home/lenaic/Documents/dev/async_ui/examples/web-todomvc" && "cargo" "build" "--lib" "--release" "--target" "wasm32-unknown-unknown"
Also, is this library only available for web with wasm or it also works on desktop ?
Metadata
Metadata
Assignees
Labels
No labels