Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 870603 Details for
Bug 914233
dev-lang/rust cargo manifest command doesn't work on stdlib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Working patch
fix-cargo-2.patch (text/plain), 578 bytes, created by
powerboat9.gamer
on 2023-09-15 14:36:45 UTC
(
hide
)
Description:
Working patch
Filename:
MIME Type:
Creator:
powerboat9.gamer
Created:
2023-09-15 14:36:45 UTC
Size:
578 bytes
patch
obsolete
>--- a/src/tools/cargo/src/cargo/ops/lockfile.rs >+++ b/src/tools/cargo/src/cargo/ops/lockfile.rs >@@ -36,6 +36,11 @@ pub fn resolve_to_string(ws: &Workspace<'_>, resolve: &mut Resolve) -> CargoResu > } > > pub fn write_pkg_lockfile(ws: &Workspace<'_>, resolve: &mut Resolve) -> CargoResult<()> { >+ // prevent lock file write failures >+ if ws.root_manifest().starts_with("/usr/lib/rust/") { >+ return Ok(()) >+ } >+ > let (orig, mut out, ws_root) = resolve_to_string_orig(ws, resolve); > > // If the lock file contents haven't changed so don't rewrite it. This is
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 914233
: 870603