wrapRustc: handle --sysroot=

This form is used by Linux 6.8.
This commit is contained in:
Alyssa Ross 2024-01-27 19:01:40 +01:00
parent 8f16d06dd7
commit 42b05f1c6d
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -4,7 +4,7 @@ defaultSysroot=(@sysroot@)
for arg; do for arg; do
case "$arg" in case "$arg" in
--sysroot) --sysroot|--sysroot=*)
defaultSysroot=() defaultSysroot=()
;; ;;
--) --)