crablang / crab

A community fork of a language named after a plant fungus. All of the memory-safe features you love, now with 100% less bureaucracy!
https://www.crablang.org
Other
5.13k stars 66 forks source link

approach to renaming should be more robust #46

Open trvswgnr opened 1 year ago

trvswgnr commented 1 year ago

the current approach to renaming is based on a clever shell script that does text replacement on output of existing commands in the rust toolchain. it's fine for a proof of concept, but ideally we would want more control over exactly what is being renamed and host our own binaries.

this would involve changing the names of relevant commands, then building for multiple targets and hosting the files and using that url in the install script. we'd then need to make a script or program that automates that process.

we can start with the compiler. bear in mind we don't need (or want) to rename every instance of rust to crab, we just want the command, its documentation, and its output to be changed.