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
case "$arg" in
--sysroot)
--sysroot|--sysroot=*)
defaultSysroot=()
;;
--)