diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2023-10-28 23:15:30 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2023-10-28 23:24:25 -0700 |
| commit | e8a027433b205af1d0815d17dbf4bde0f48fa592 (patch) | |
| tree | 7aee6e8cae1143e92655bf0e810fcfb4f76f4811 | |
| parent | c88fc2ec6a1a8dfcb97d64e359c05c53ae93ab3f (diff) | |
| download | rust-e8a027433b205af1d0815d17dbf4bde0f48fa592.tar.gz rust-e8a027433b205af1d0815d17dbf4bde0f48fa592.zip | |
Remove asmjs from miri
| -rw-r--r-- | src/tools/miri/src/shims/foreign_items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/src/shims/foreign_items.rs b/src/tools/miri/src/shims/foreign_items.rs index 2d5df303745..329a30a9faf 100644 --- a/src/tools/miri/src/shims/foreign_items.rs +++ b/src/tools/miri/src/shims/foreign_items.rs @@ -345,7 +345,7 @@ trait EvalContextExtPriv<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> { // List taken from `library/std/src/sys/common/alloc.rs`. // This list should be kept in sync with the one from libstd. let min_align = match this.tcx.sess.target.arch.as_ref() { - "x86" | "arm" | "mips" | "mips32r6" | "powerpc" | "powerpc64" | "asmjs" | "wasm32" => 8, + "x86" | "arm" | "mips" | "mips32r6" | "powerpc" | "powerpc64" | "wasm32" => 8, "x86_64" | "aarch64" | "mips64" | "mips64r6" | "s390x" | "sparc64" | "loongarch64" => 16, arch => bug!("unsupported target architecture for malloc: `{}`", arch), |
