style: auto-format from pre-push hooks
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Oleks
2026-03-16 14:39:37 +02:00
parent 0d46839c04
commit 9a4b7eaa11
+15 -11
View File
@@ -97,18 +97,22 @@
# Rustc bootstrap: symlink_file panics with "File exists" during
# s390x cross-compilation. Multiple call sites use t!(symlink_file(...)).
# Patch the symlink_file method body to remove existing dest first.
(final: prev: let
patchedRustcUnwrapped = prev.rustc-unwrapped.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
./patches/rustc-symlink-file-eexist.patch
];
});
in {
rustc-unwrapped = patchedRustcUnwrapped;
rustc = prev.rustc.override {
(
final: prev:
let
patchedRustcUnwrapped = prev.rustc-unwrapped.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
./patches/rustc-symlink-file-eexist.patch
];
});
in
{
rustc-unwrapped = patchedRustcUnwrapped;
};
})
rustc = prev.rustc.override {
rustc-unwrapped = patchedRustcUnwrapped;
};
}
)
];
# Native builds