Dec
7
13 hours ago
started
started time in 26 minutes ago
started
started time in 3 hours ago
started
started time in 4 hours ago
started
started time in 7 hours ago
Dec
6
1 day ago
Activity icon
issue

domenicquirl issue comment rust-embedded/cross

domenicquirl
domenicquirl

Add cross subcommands shortcuts

Hi, this pr adds sub-commands shortcuts ['b','c','r', 't'] to the cli. The main reason is currently the error when using them is misleading. Example: this command: cross b --target arm-linux-androideabi outputs this error: error: linking with cc failed: exit code: 1 which took me a while to figure out that cross is not recognizing the sub-command and is falling-back to cargo. Also they are useful to have.

domenicquirl
domenicquirl

Hi! I just spent a good while tearing my hair out over this, because I was trying to run cross b on a system where the corresponding --target was also installed and the command cause a regular build to run and complete without error (context: cross-compiling from a linux system to armv7, having installed the toolchain and a matching linker on the source machine to test the build locally). Got it figured out, but landed here in the process and I think this landing would help avoid such situations for others the future.

started
started time in 21 hours ago
started
started time in 1 day ago
Dec
5
2 days ago
started
started time in 1 day ago
started
started time in 1 day ago
Previous