Move cosmo-clang to libexec

The cosmo-clang command shouldn't be in the bin/ folder of cosmocc. It's
intended as an implementation detail of `cosmocc -mclang`.

Fixes #1317
This commit is contained in:
Justine Tunney 2024-10-21 22:55:15 -07:00
parent 26663dea9c
commit 4e44517c9c
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 5 additions and 5 deletions

View file

@ -185,7 +185,7 @@ if [ ! -x bin/x86_64-linux-cosmo-gcc ]; then
rm -f aarch64-gcc.zip
rm -f x86_64-gcc.zip
rm -f llvm.zip
mv bin/clang-19 bin/cosmo-clang
mv bin/clang-19 libexec/clang # use `cosmocc -mclang` instead
fi
rm -f bin/*-cpp
rm -f bin/*-gcc-*