@storyfeet Rustc doesn’t know about the existence of executables, because cargo doesn’t tell it about that. Doing so would give:
echo "extern crate abc;" | rustc --extern abc=$(where rustc) - bjorn@iMac
error[E0463]: can't find crate for `abc`
--> <anon>:1:1
|
1 | extern crate abc;
| ^^^^^^^^^^^^^^^^^ can't find crate
|
= note: extern location for abc is of an unknown type: /Users/bjorn/.cargo/bin/rustc
= help: file name should be lib*.rlib or lib*..dylib
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.