[bug] tauri-cli fails to compile due to outdated dependencies
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start with the cargo install tauri-cli --version "^2.0.0" --locked reproduction and inspect how tauri-cli resolves the rustix-0.37.28 dependency. Update the dependency resolution to a version compatible with the latest nightly compiler, then rerun the installation command and confirm compilation succeeds.
Written by the indexing model from the issue text.
Description
Describe the bug
tauri-cli relies on rustix-0.37.28, which is outdated. it will fail to compile with the latest nightly compiler.
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
--> /home/zekirax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.37.28/src/backend/linux_raw/io/errno.rs:28:25
|
28 | #[cfg_attr(rustc_attrs, rustc_layout_scalar_valid_range_start(0xf001))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
--> /home/zekirax/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.37.28/src/backend/linux_raw/io/errno.rs:29:25
|
29 | #[cfg_attr(rustc_attrs, rustc_layout_scalar_valid_range_end(0xffff))]
rustc_layout_scalar_valid_range_end was removed. there is an issue for this https://github.com/rust-lang/rust/issues/135996
Reproduction
run with the latest compiler cargo install tauri-cli --version "^2.0.0" --locked
Expected behavior
No response
Full tauri info output
don't have it yet
Stack trace
Additional context
No response
- Dominant language
- Rust
- Stars
- 111k
- Forks
- 4k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 62
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tauri-apps/tauri
-
platform: Linux status: needs triage type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
tauri-apps/tauri#15928 · 1 comment ·
-
type: developer experience type: feature request
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
tauri-apps/tauri#15922 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tauri-apps/tauri#15892 ·
-
platform: iOS
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tauri-apps/tauri#15843 · 1 comment ·
-
platform: iOS priority: 0 crash status: needs triage type: bug type: documentation
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
tauri-apps/tauri#15719 · 1 comment ·
All issues in tauri-apps/tauri
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100