aports/main/rust/install-template-shebang.patch
omni 507c0e0b6d main/rust: upgrade to 1.91.0
- drop need-rpath.patch
- make it clear that it is our *rust* version, mainly for output from
  cargo --version
- move target-spec-json-schema.json to -doc subpackage, we do not want
  to introduce a /usr/etc here (rustc --print sysroot), there is also
  rustc --print target-spec-json-schema
- skip two bootstrap sanity checks - initially I just disabled these to
  see how far we would get, but it seems like we can build just fine
  without these (also tested with a few rust aports)
2025-11-07 19:46:39 +00:00

11 lines
241 B
Diff

The script seems to be POSIX-sh (+ local) compatible.
--- a/src/tools/rust-installer/install-template.sh
+++ b/src/tools/rust-installer/install-template.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
# No undefined variables
set -u