Fail `lock_shared() not supported` on termux
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 54/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
$ 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
- Langage dominant
- Rust
- Étoiles
- 7.1k
- Forks
- 1.1k
- Merge moyen
- 1 j 1 h
- PR mergées (30 j)
- 36
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de rust-lang/rustup
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
enhancement O-shell
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Rustup OOMOuvertebug
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
rust-lang/rustup#5173 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
1.29.3 release planningOuverterelease
Difficulté 4/5 1-2 jours Accessibilité débutants 20/100
Les mainteneurs répondent en général sous 1 jour
-
Solaris support is broken on 1.29.2Peut-être pris @ChrisDenton l’a pris il y a 3 jours. Ouvertebug
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
rust-lang/rustup#5164 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de rust-lang/rustup
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
FalkorDB/FalkorDB#3597 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
mozilla-services/syncstorage-rs#2715 ·
Les mainteneurs répondent en général sous 1 jour