Bug 1273603 - rust: enable sse2 code generation on win32. r?mshal
Now that we're no longer supporting x86 cpus without SSE2
instructions, we can relax this restriction added in
bug 1252041.
MozReview-Commit-ID: 3Is0M3Em4Wx
--- a/old-configure.in
+++ b/old-configure.in
@@ -1020,28 +1020,16 @@ fi
AC_SUBST(HAVE_64BIT_BUILD)
AC_LANG_RESTORE
fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl Special rust checks
dnl ========================================================
-if test -n "$MOZ_RUST"; then
- AC_MSG_CHECKING([rustc target sse2 support])
- case "$OS_ARCH:$CPU_ARCH" in
- WINNT:x86)
- RUSTFLAGS="${RUSTFLAGS} -C target-feature=-sse2"
- AC_MSG_RESULT([no])
- ;;
- *)
- AC_MSG_RESULT([ok])
- esac
-fi
-
if test -n "$MACOSX_DEPLOYMENT_TARGET" -a -n "$MOZ_RUST"; then
AC_MSG_CHECKING([if we're targeting 32-bit])
if test -z "$HAVE_64BIT_BUILD"; then
AC_MSG_RESULT([using $RUSTC])
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING([rustc compatibility with MacOS X])