summaryrefslogtreecommitdiffstats
path: root/config.toml.example
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-11-20 06:22:17 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-11-25 06:44:35 -0800
commit48996f9e759912140ccc98072e9e55fa6480a9d7 (patch)
tree9ee7d07b394b806138cd00cb1ca2cbed86448183 /config.toml.example
parentAuto merge of #46129 - kennytm:fix-46098-rustdoc-reexport-extern-type, r=Guil... (diff)
downloadgrust-48996f9e759912140ccc98072e9e55fa6480a9d7.tar.gz
grust-48996f9e759912140ccc98072e9e55fa6480a9d7.tar.bz2
grust-48996f9e759912140ccc98072e9e55fa6480a9d7.tar.xz
rustbuild: Enable WebAssembly backend by default
This commit alters how we compile LLVM by default enabling the WebAssembly backend. This then also adds the wasm32-unknown-unknown target to get compiled on the `cross` builder and distributed through rustup. Tests are not yet enabled for this target but that should hopefully be coming soon!
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.toml.example b/config.toml.example
index df0142b8d4..a9281a31b1 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -60,10 +60,9 @@
60# LLVM experimental targets to build support for. These targets are specified in 60# LLVM experimental targets to build support for. These targets are specified in
61# the same format as above, but since these targets are experimental, they are 61# the same format as above, but since these targets are experimental, they are
62# not built by default and the experimental Rust compilation targets that depend 62# not built by default and the experimental Rust compilation targets that depend
63# on them will not work unless the user opts in to building them. Possible 63# on them will not work unless the user opts in to building them. By default the
64# experimental LLVM targets include WebAssembly for the 64# `WebAssembly` target is enabled when compiling LLVM from scratch.
65# wasm32-experimental-emscripten Rust target. 65#experimental-targets = "WebAssembly"
66#experimental-targets = ""
67 66
68# Cap the number of parallel linker invocations when compiling LLVM. 67# Cap the number of parallel linker invocations when compiling LLVM.
69# This can be useful when building LLVM with debug info, which significantly 68# This can be useful when building LLVM with debug info, which significantly