rustc: Add --target-cpu flag to select a more specific processor instead of the default, 'generic'.

This commit is contained in:
Luqman Aden 2013-08-08 22:16:00 -04:00
parent 2ba36ec629
commit fcfd6e7c79
6 changed files with 36 additions and 28 deletions

View file

@ -27,7 +27,8 @@ _rustc_opts_switches=(
--sysroot'[Override the system root]'
--test'[Build a test harness]'
--target'[Target triple cpu-manufacturer-kernel\[-os\] to compile]'
--target-feature'[Target specific attributes (llc -mattr=help for detail)]'
--target-cpu'[Select target processor (llc -mcpu=help for details)]'
--target-feature'[Target specific attributes (llc -mattr=help for details)]'
--android-cross-path'[The path to the Android NDK]'
{-v,--version}'[Print version info and exit]'
)