rust: add patch to fix remote filesystem issue
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 13 May 2024 10:37:18 +0000 (12:37 +0200)
committerTianling Shen <cnsztl@gmail.com>
Sun, 7 Jul 2024 12:58:21 +0000 (20:58 +0800)
commita0bf47605f144d88249311b04317adcbda3cd310
tree14c83fc3f85c7275afcca262ae235a518bcd0f71
parente081cb182aa7b4344738aff4cc7e77e3decd72cf
rust: add patch to fix remote filesystem issue

If the download directory is on another filesystem (NFS), then the
current implementation of bootstrapping rust fails. Because the 'syscall'
(rename) does not work on crossing filesystem boundary.

This chnage was already merged upstream to the github main rust repository.
rust-lang/rust#124975

The patch has been rebased so that it can be applied correctly.
No functional change.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 6b6c74dca86036c5ccfde236816a40e5895303d6)
lang/rust/Makefile
lang/rust/patches/0004-Use-an-helper-to-move-the-files.patch [new file with mode: 0644]