This commit is contained in:
Folkert 2022-04-20 18:05:06 +02:00
parent 0267963e14
commit ec43d7d770
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 3 additions and 2 deletions

View file

@ -1110,7 +1110,7 @@ pub fn load<'a>(
) -> Result<LoadResult<'a>, LoadingProblem<'a>> {
// When compiling to wasm, we cannot spawn extra threads
// so we have a single-threaded implementation
if true || cfg!(target_family = "wasm") {
if cfg!(target_family = "wasm") {
load_single_threaded(
arena,
load_start,