Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): update deps, fix log compilation issue #9034

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

lucasfernog
Copy link
Member

log pushed a breaking change on a patch release: rust-lang/log#592

@lucasfernog lucasfernog requested a review from a team as a code owner February 29, 2024 12:09
@FabianLars FabianLars linked an issue Feb 29, 2024 that may be closed by this pull request
@lucasfernog lucasfernog merged commit 4f78941 into dev Feb 29, 2024
12 checks passed
@lucasfernog lucasfernog deleted the chore/cli-deps-update branch February 29, 2024 13:22
@Thomasdezeeuw
Copy link

Thomasdezeeuw commented Mar 2, 2024

I would suggest to switch to the stable kv feature. The currently used kv_unstable will be removed in a couple of months.

@amrbashir
Copy link
Member

thanks for the heads up @Thomasdezeeuw , will migrate asap

@drernie
Copy link

drernie commented Mar 4, 2024

is this fix available in a release yet? How can we tell?

@amrbashir
Copy link
Member

Not yet, but soon for sure. For now, try cargo install tauri-cli --version "^2.0.0-beta" --locked

@CaoKha
Copy link

CaoKha commented Mar 5, 2024

Not yet, but soon for sure. For now, try cargo install tauri-cli --version "^2.0.0-beta" --locked

What about tauri-cli stable version (1.5)? Do you have any solution ?

@FabianLars
Copy link
Member

@CaoKha cargo install tauri-cli --locked

@CaoKha
Copy link

CaoKha commented Mar 5, 2024

@FabianLars I got this

error[E0635]: unknown feature `stdsimd`
  --> /home/username/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.6/src/lib.rs:99:42
   |
99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
   |                                          ^^^^^^^
For more information about this error, try `rustc --explain E0635`.
error: could not compile `ahash` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `tauri-cli v1.5.10`, intermediate artifacts can be found at `/tmp/cargo-installIo79UU`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

@CaoKha
Copy link

CaoKha commented Mar 5, 2024

actually, it compiles fine with rust stable version. The error I got is from rust nightly version set up in rust-toolchain file.

@Thomasdezeeuw
Copy link

is this fix available in a release yet? How can we tell?

The kv feature was released in v0.4.21, the same one that contained this breakage of unstable API. It's documented in the changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] cargo install tauri-cli fails due to log 0.4.21 update
6 participants