-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Problem
Running cargo build
or similiar commands fails with:
error: failed to lock file: /path/Cargo.lock
Caused by:
Function not implemented (os error 38)
rustc
version:
rustc 1.62.1
binary: rustc
commit-hash: unknown
commit-date: unknown
host: aarch64-linux-android
release: 1.62.1
LLVM version: 14.0.6
Steps
- Have Rust installed on Android via Termux (
aarch64-linux-android
) - Run
cargo build
inside a project
Possible Solution(s)
No response
Notes
This is very odd, since the code (https://github.com/rust-lang/cargo/blame/master/src/cargo/util/flock.rs#L382) should check for this case and not fail. I am very unsure why it's still failing.
Version
cargo 1.62.1
release: 1.62.1
host: aarch64-linux-android
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:OpenSSL/3.0.0c)
os: Android [unknown bitness]