You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rules_rust uses the cc toolchain for linking, and I've been running into
issues building with rules_rust + our custom toolchain (specifically
llvm 20 on mac). Disabling the custom toolchain plus updating cc rules
to bazelbuild/rules_cc#466 fixed my issue.
I don't know if this needs to/should be applied to all wrappers, but I
figured it couldn't hurt?
The changes in each file are
- Changed shebangs: #!/usr/bin/env bash and #!/bin/bash → #!/bin/sh
- Replaced bash tests: [[ ]] → [ ]
- Replaced BASH_SOURCE: ${BASH_SOURCE[0]} → $0
- Fixed path checks: [[ "$0" == "/"* ]] → case "$0" in /*) true;; *)
false;; esac
- Argument passing: "${@}" → "$@"
---------
Co-authored-by: Copilot <[email protected]>
0 commit comments