diff --git a/extra/rust/build b/extra/rust/build index 278d8468..2e7fc267 100755 --- a/extra/rust/build +++ b/extra/rust/build @@ -63,3 +63,5 @@ export DESTDIR="$1" python3 ./x.py build -j "$(nproc)" python3 ./x.py install + +rm -rf "$1/usr/lib/rustlib/src/"