Open
Description
Problem
On FreeBSD, rustup will generate a .cargo/env that is sourced in .profile. There are two issues here.
- tcsh does not source .profile on run, it sources .login
- Manually sourcing .cargo/env will give a syntax error that too many arguments were given to
case
Steps
- Install FreeBSD on a fresh machine with tcsh as the set shell (I used a VM)
- Install rustup using the given directions on the website
- You can either try to source .cargo/env or exit and reenter the shell
- Try running any rustup commands
Possible Solution(s)
- Modify .cargo/env to not use BASH specific extensions (I wouldn't quite know what specific syntax you should be using)
- Add sourcing .cargo/env to .login if present,
Notes
No response
Rustup version
Rustup 1.26.0
Installed toolchains
rustc 1.71.0