Fail `lock_shared() not supported` on termux
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 54/100
Direzione di ricerca
Start by reproducing the failure with rustup toolchain list in Termux after rustup self update; the issue gives the error and the settings file contents but names no source file or test. Trace how rustup reads ~/.rustup/settings.toml and handles shared file locks on Termux, then identify or add coverage for that path. Done when toolchain listing no longer fails with lock_shared() not supported.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
$ rustup -h
rustup 1.25.2 (17db695f1 2023-02-01)
The Rust toolchain installer
USAGE:
rustup [FLAGS] [+toolchain] <SUBCOMMAND>
FLAGS:
-v, --verbose Enable verbose output
-q, --quiet Disable progress output
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<+toolchain> release channel (e.g. +stable) or custom toolchain to set override
SUBCOMMANDS:
show Show the active and installed toolchains or profiles
update Update Rust toolchains and rustup
check Check for updates to Rust toolchains and rustup
default Set the default toolchain
toolchain Modify or query the installed toolchains
target Modify a toolchain's supported targets
component Modify a toolchain's installed components
override Modify directory toolchain overrides
run Run a command with an environment configured for a given toolchain
which Display which binary will be run for a given command
doc Open the documentation for the current toolchain
man View the man page for a given command
self Modify the rustup installation
set Alter rustup settings
completions Generate tab-completion scripts for your shell
help Prints this message or the help of the given subcommand(s)
DISCUSSION:
Rustup installs The Rust Programming Language from the official
release channels, enabling you to easily switch between stable,
beta, and nightly compilers and keep them updated. It makes
cross-compiling simpler with binary builds of the standard library
for common platforms.
If you are new to Rust consider running `rustup doc --book` to
learn Rust.
$ rustup toolchain list
no installed toolchains
$ which rustup
/data/data/com.termux/files/home/.cargo/bin/rustup
$ rustup self update
info: checking for self-updates
info: downloading self-update
rustup updated - 1.29.1 (from 1.25.2)
$ rustup toolchain list
error: could not read settings file: '/data/data/com.termux/files/home/.rustup/settings.toml': lock_shared() not supported
$ vi ~/.rustup/
settings.toml tmp/ update-hashes/
$ vi ~/.rustup/settings.toml
$ cat ~/.rustup/settings.toml
profile = "default"
version = "12"
[overrides]
$
@rustbot label +bug
- Lingua principale
- Rust
- Stelle
- 7.1k
- Fork
- 1.1k
- Merge medio
- 16h 28m
- PR unite (30g)
- 36
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rust-lang/rustup
-
enhancement O-shell
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
1.29.3 release planningApertarelease
Difficoltà 4/5 1-2 giorni Idoneità per principianti 20/100
I maintainer di solito rispondono entro 1 giorno
-
Solaris support is broken on 1.29.2Forse già presa @ChrisDenton l’ha presa 2 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
rust-lang/rustup#5164 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
rust-lang/rustup#5149 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Wrong completions when using the `+toolchain` syntaxForse già presa @14elias l’ha presa 3 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
rust-lang/rustup#5144 · 2 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di rust-lang/rustup
Issue simili
-
component:benchmark
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
agentic-os-org/ANOLISA#9177 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oracle/rust-oracledb#61 ·
-
bug priority-medium to-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 2 giorni
-
Databricks tool-only response crashes in resolve_reasoning_and_content with KeyError: contentForse già presa @1divyanshdev l’ha presa oggi. Apertallm translation
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
BerriAI/litellm#48637 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno