Closed as not planned
Description
Problem
I'll try to make a small project with slint but it errors out with message:
compiling …
Compiling slint-macros v1.2.2
Compiling slint v1.2.2
error[E0463]: can't find crate for `slint_macros`
--> /home/lenovo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/slint-1.2.2/lib.rs:202:9
|
202 | pub use slint_macros::slint;
| ^^^^^^^^^^^^ can't find crate
For more information about this error, try `rustc --explain E0463`.
error: could not compile `slint` (lib) due to previous error
even though it is defined in cargo.toml
Steps
- Install Nixos
- copy my config (ask for it)
- run my project calculator.zip
Possible Solution(s)
No response
Notes
Version
cargo 1.73.0 (9c4383fb5 2023-08-26)
release: 1.73.0
commit-hash: 9c4383fb55986096b414d98125421ab87b5fd642
commit-date: 2023-08-26
host: x86_64-unknown-linux-gnu
libgit2: 1.6.4 (sys:0.17.2 vendored)
libcurl: 8.2.1-DEV (sys:0.4.65+curl-8.2.1 vendored ssl:OpenSSL/1.1.1u)
ssl: OpenSSL 1.1.1u 30 May 2023
os: NixOS 23.11.0 [64-bit]