You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: failed to resolve patches for https://github.com/rust-lang/crates.io-index
Caused by:
patch for `libc` in `https://github.com/rust-lang/crates.io-index` did not resolve to any crates. If this is unexpected, you may wish to consult: https://github.com/rust-lang/cargo/issues/4678
Traceback (most recent call last):
File "./x.py", line 11, in <module>
bootstrap.main()
File "/local/mnt/workspace/mahto/rust/src/bootstrap/bootstrap.py", line 960, in main
bootstrap(help_triggered)
File "/local/mnt/workspace/mahto/rust/src/bootstrap/bootstrap.py", line 929, in bootstrap
build.build_bootstrap()
File "/local/mnt/workspace/mahto/rust/src/bootstrap/bootstrap.py", line 724, in build_bootstrap
run(args, env=env, verbose=self.verbose)
File "/local/mnt/workspace/mahto/rust/src/bootstrap/bootstrap.py", line 143, in run
raise RuntimeError(err)
RuntimeError: failed to run: /local/mnt/workspace/mahto/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /local/mnt/workspace/mahto/rust/src/bootstrap/Cargo.toml --verbose
Hii, I'm trying to build rust with libc(from my local machine) where I made some changes. But I'm facing this issue. Please help.
[[package]]
name = "libc"
version = "0.2.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3baa92041a6fec78c687fa0cc2b3fae8884f743d672cf551bed1d6dac6988d0f"
dependencies = [
"rustc-std-workspace-core",
]
the version of libc on my directory is v0.2.70. and the libc directory is just outside my rust directory(path = "../libc")
Let me know if any information is required.
The text was updated successfully, but these errors were encountered:
As mentioned in the cargo issue, this may be resolved by removing Cargo.lock and re-building. Given from the error message, I believe this isn't the libc side issue so I'm going to close this as wontfix/invalid.
error:
failed to resolve patches forhttps://github.com/rust-lang/crates.io-index
Hii, I'm trying to build rust with libc(from my local machine) where I made some changes. But I'm facing this issue. Please help.
This is my Cargo.toml
this is my cargo.lock
the version of libc on my directory is v0.2.70. and the libc directory is just outside my rust directory(path = "../libc")
Let me know if any information is required.
The text was updated successfully, but these errors were encountered: