Closed Isaac-Leonard closed 11 months ago
Okay, I can get it to compile fine when cloning this repo so not sure what's going on
It seems like it depends on the rust version I'm using with issues happening in the currently nightly iteration
Adding the following to rust-toolchain.toml in my project seems to fix it for now:
[toolchain]
channel = "nightly-2023-06-15"
With the error I encountered while attempting to compile the current tauri-sys repo with the current nightly edition being:
error[E0635]: unknown feature `proc_macro_span_shrink`
--> /Users/isaac/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-mac
ro2-1.0.47/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Not sure if this was the cause of the original errors but I'll mark this as closed for now as I seem to have a solution and the issue doesn't appear to be in the kauri-sys code.
When adding the dialog feature to my project I get compilation errors.
My cargo.toml has this for kauri-sys:
I'm happy to make a pull request later today if this is just a name conflict issue as the error seems to suggest