about summary refs log tree commit diff
path: root/src/bootstrap/config.toml.example
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-29 17:28:19 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-29 17:28:19 -0800
commitebea2ea34faf85688daeee703b925d25e63024fb (patch)
tree8386d020cafd2ccac0e61c23ea8fc142821aaeac /src/bootstrap/config.toml.example
parent334af886589f2854d9027d60fa79a62b6e5b4980 (diff)
parent0f8e931475b1f7864504f509b389d28e1ffbc93a (diff)
downloadrust-ebea2ea34faf85688daeee703b925d25e63024fb.tar.gz
rust-ebea2ea34faf85688daeee703b925d25e63024fb.zip
Merge branch 'rustbuild-llvm-targets' of https://github.com/xen0n/rust into rollup
Diffstat (limited to 'src/bootstrap/config.toml.example')
-rw-r--r--src/bootstrap/config.toml.example11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bootstrap/config.toml.example b/src/bootstrap/config.toml.example
index 7c8d3870e92..b476478fdd1 100644
--- a/src/bootstrap/config.toml.example
+++ b/src/bootstrap/config.toml.example
@@ -42,6 +42,17 @@
 # example.
 #ninja = false
 
+# LLVM targets to build support for.
+# Note: this is NOT related to Rust compilation targets. However, as Rust is
+# dependent on LLVM for code generation, turning targets off here WILL lead to
+# the resulting rustc being unable to compile for the disabled architectures.
+# Also worth pointing out is that, in case support for new targets are added to
+# LLVM, enabling them here doesn't mean Rust is automatically gaining said
+# support. You'll need to write a target specification at least, and most
+# likely, teach rustc about the C ABI of the target. Get in touch with the
+# Rust team and file an issue if you need assistance in porting!
+#targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc"
+
 # =============================================================================
 # General build configuration options
 # =============================================================================