This commit is contained in:
Folkert 2022-03-03 10:36:18 +01:00
parent 3d30bcef03
commit a53a5b718e
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

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