Skip to content

Commit 9cb948f

Browse files
committedAug 2, 2019
rustbuild: WebAssembly is no longer an experimental LLVM backend
1 parent 184fb08 commit 9cb948f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
 

‎config.toml.example

+3-4
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@
5757
# support. You'll need to write a target specification at least, and most
5858
# likely, teach rustc about the C ABI of the target. Get in touch with the
5959
# Rust team and file an issue if you need assistance in porting!
60-
#targets = "AArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;X86"
60+
#targets = "AArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86"
6161

6262
# LLVM experimental targets to build support for. These targets are specified in
6363
# the same format as above, but since these targets are experimental, they are
6464
# not built by default and the experimental Rust compilation targets that depend
65-
# on them will not work unless the user opts in to building them. By default the
66-
# `WebAssembly` target is enabled when compiling LLVM from scratch.
67-
#experimental-targets = "WebAssembly"
65+
# on them will not work unless the user opts in to building them.
66+
#experimental-targets = ""
6867

6968
# Cap the number of parallel linker invocations when compiling LLVM.
7069
# This can be useful when building LLVM with debug info, which significantly

‎src/bootstrap/native.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl Step for Llvm {
125125
} else {
126126
match builder.config.llvm_targets {
127127
Some(ref s) => s,
128-
None => "AArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;X86",
128+
None => "AArch64;ARM;Hexagon;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86",
129129
}
130130
};
131131

@@ -134,7 +134,7 @@ impl Step for Llvm {
134134
} else {
135135
match builder.config.llvm_experimental_targets {
136136
Some(ref s) => s,
137-
None => "WebAssembly",
137+
None => "",
138138
}
139139
};
140140

0 commit comments

Comments
 (0)
Please sign in to comment.