about summary refs log tree commit diff
path: root/src/etc
diff options
context:
space:
mode:
authorLuqman Aden <laden@csclub.uwaterloo.ca>2013-08-08 22:16:00 -0400
committerLuqman Aden <laden@csclub.uwaterloo.ca>2013-08-10 17:03:43 -0400
commitfcfd6e7c798f621f40a3ccf5dd8a7f1b130fdfd4 (patch)
treea7a0adfcd9f65d573857e4811137b4c1fb186f16 /src/etc
parent2ba36ec62934c8b877766a6283633b6407c8d357 (diff)
downloadrust-fcfd6e7c798f621f40a3ccf5dd8a7f1b130fdfd4.tar.gz
rust-fcfd6e7c798f621f40a3ccf5dd8a7f1b130fdfd4.zip
rustc: Add --target-cpu flag to select a more specific processor instead of the default, 'generic'.
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/zsh/_rust3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/etc/zsh/_rust b/src/etc/zsh/_rust
index befed411dd1..7320eced7e1 100644
--- a/src/etc/zsh/_rust
+++ b/src/etc/zsh/_rust
@@ -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]'
 )