Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 914233
Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +6 lines)
Line  Link Here
0
-- a/src/tools/cargo/src/cargo/ops/lockfile.rs
0
++ b/src/tools/cargo/src/cargo/ops/lockfile.rs
Lines 36-41 pub fn resolve_to_string(ws: &Workspace<'_>, resolve: &mut Resolve) -> CargoResu Link Here
36
}
36
}
37
37
38
pub fn write_pkg_lockfile(ws: &Workspace<'_>, resolve: &mut Resolve) -> CargoResult<()> {
38
pub fn write_pkg_lockfile(ws: &Workspace<'_>, resolve: &mut Resolve) -> CargoResult<()> {
39
    // prevent lock file write failures
40
    if ws.root_manifest().starts_with("/usr/lib/rust/") {
41
        return Ok(())
42
    }
43
39
    let (orig, mut out, ws_root) = resolve_to_string_orig(ws, resolve);
44
    let (orig, mut out, ws_root) = resolve_to_string_orig(ws, resolve);
40
45
41
    // If the lock file contents haven't changed so don't rewrite it. This is
46
    // If the lock file contents haven't changed so don't rewrite it. This is

Return to bug 914233